Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using SolTrace CLI without UI #14

Open
chetan201 opened this issue Oct 25, 2018 · 9 comments
Open

Using SolTrace CLI without UI #14

chetan201 opened this issue Oct 25, 2018 · 9 comments

Comments

@chetan201
Copy link

Hi @mjwagner2,
First of all, thanks for offering the community an excellent tool like SolTrace. I am currently using it for some ray tracing + electrical model applications and would like to learn how to use it to run scenes without the UI on command line for massive parallelization of simulations in a cluster.
Would you be able to advice?
Thanks,
Chetan.

@mjwagner2 mjwagner2 added this to the release-3.1 milestone Oct 30, 2018
@mjwagner2
Copy link
Contributor

mjwagner2 commented Oct 30, 2018

The current command line version can be downloaded from the NREL file sharing website.

We do have the code to compile as a console app available in the source files, mostly within /app/console.cpp, but instructions for compiling and code testing haven't been completed recently. I will leave this issue open until the following are addressed:

  1. Documentation is added on the SolTrace wiki describing the process for compiling the console app and for using it
  2. Compiler compatibility and code testing is completed on Windows and Linux platforms

@solarjoe
Copy link

solarjoe commented Dec 14, 2018

Also see here, Question

Can SolTrace be run from a command line?

I am using this, with forward slashes on Windows:

SolTrace.exe -s c:/path/to/script.lk

@AntonioCarrilloAndres
Copy link

Hi, the command line

SolTrace.exe -s c:/path/to/script.lk

that worked fine with Soltrace 2012.7.9 does not seem to work any more with Soltrace 3.0.0, is there any workaround ?

Thanks

Antonio

@ahmadrehan
Copy link

The current command line version can be downloaded from the NREL file sharing website.

We do have the code to compile as a console app available in the source files, mostly within /app/console.cpp, but instructions for compiling and code testing haven't been completed recently. I will leave this issue open until the following are addressed:

  1. Documentation is added on the SolTrace wiki describing the process for compiling the console app and for using it
  2. Compiler compatibility and code testing is completed on Windows and Linux platforms

The console app link is not working..

Also is there any version working this.. I need to run simulations from command line.

@ahmadrehan
Copy link

May I please have link for

"The current command line version can be downloaded from the NREL file sharing website."

@mjwagner2
Copy link
Contributor

I've updated my comment above with a new link that should be working now.

@ahmadrehan
Copy link

Hello,
Thanks for updating the link, but I don't see any option of running the lk script directly from command line. The description given on the FAQ's for running lk script directly also is not working and always give error failed to open file.
Could you please help and suggest anything.

@Miguel-RL
Copy link

Hi @mjwagner2,

My colleagues and I are using Soltrace and we were wondering whether there is any way to suppress a popup that appears when we run soltrace from the command line interface. The popup is a 'Trace Progress' window with a series of blue bars racing to the right to indicate the current run's progress.

We are currently using the following commands, but have been unsuccessful.
si = subprocess.STARTUPINFO()
si.dwFlags |= subprocess.STARTF_USESHOWWINDOW
rv = subprocess.call(r'C:/SolTrace/2012.7.9/SolTrace.exe -s C:\temp\soltrace\temp\20190611_110534_wE8d2QHo\wE8d2QHo.lk', startupinfo=si)

Any help would be much appreciated! Thank you in advance.

@giogio8427
Copy link

Hello,
I am not able to call Soltrace with the command line instructions reported in https://www.nrel.gov/csp/soltrace-faqs.html
Soltrace shows an error message "Failed to open file".
Could you help with me or suggest an alternative solution?

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants