How to Run LK scripts using Linux

  • fdml
  • Topic Author
More
08 Oct 2020 20:46 #8835 by fdml
How to Run LK scripts using Linux was created by fdml
Hi, I'm to try running LK scripts using Linux, but it only opens SAM's window and doesn't run the script.

I'm using this command /home/fdml/SAM/2020.2.29/SAM test test_script_ow.lk

What I'm doing wrong?

Please Log in or Create an account to join the conversation.

  • pgilman
More
09 Oct 2020 15:49 #8849 by pgilman
Replied by pgilman on topic How to Run LK scripts using Linux
Hi Diego,

That particular script is a test script that we use to test SAM builds. You can find sample LK scripts on the SAM GitHub repository here (see the instructions in the readme):  github.com/NREL/SAM/tree/develop/samples/LK%20Scripts%20for%20SAM .

The best way to run LK scripts is to start SAM and open the script editor from the File menu. For more on LK scripts, see: sam.nrel.gov/lk-script.html .

Best regards,
Paul.

Please Log in or Create an account to join the conversation.

  • fdml
  • Topic Author
More
15 Jan 2021 07:12 #9199 by fdml
Replied by fdml on topic How to Run LK scripts using Linux
Hi Paul,

Thanks for your reply. I'm talking about this command I have found here on the forum: [path to SAM executable] [any string] [path to .lk script file].

I tested this command with a script I have done, it works on Windows, but not for Linux, could you tell me why? I'm doing something wrong?

Best regards,

Diego

Please Log in or Create an account to join the conversation.

  • pgilman
More
15 Jan 2021 17:13 #9200 by pgilman
Replied by pgilman on topic How to Run LK scripts using Linux
Hi Diego,

Linux file paths use forward slashes instead of back slashes and are case sensitive. Windows ignores case in path names. Please check that you are using the correct case and forward slashes on Linux.

Best regards,
Paul.

Please Log in or Create an account to join the conversation.

Moderators: pgilman
Powered by Kunena Forum