Open akmahaja opened 8 years ago
That's strange. Is your function writing to stdout?
On Tue, Apr 12, 2016 at 3:36 PM, Akanksha notifications@github.com wrote:
The spearmint is creating the output/0000*.out files, but not writing anything inside it. It is creating the job files and trace files with the content. It also writes the best results file.
What might be leading to this issue? I am using the following command to run the file.
nohup python main.py --driver=local --method=GPEIOptChooser --method-args=noiseless=1 config.pb --method-args=use_multiprocessing=0 &
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/HIPS/Spearmint/issues/64
This main.py is the file is from the git repo and my function is returning the final result value. And the print statements for the terminal is being written to the nohup.out.
Ah, the files are probably empty because nohup is redirecting the output. Can you try running the command without nohup?
On Tue, Apr 12, 2016 at 4:40 PM, Akanksha notifications@github.com wrote:
This main.py is the file is from the git repo and my function is returning the final result value. And the print statements for the terminal is being written to the nohup.out.
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/HIPS/Spearmint/issues/64#issuecomment-209093449
Okay, will try that and update.
Thanks
I have tried it multiple times without the nohup and still in the background, but in these cases as soon as the connection is lost the script stops running. So I am not able to make this work without nohup. Any ideas how can this be fixed in case of using with nohup?
Can you use 'screen' or tmux instead?
On Tue, Apr 12, 2016 at 11:05 PM, Akanksha notifications@github.com wrote:
I have tried it multiple times without the nohup and still in the background, but in these cases as soon as the connection is lost the script stops running. So I am not able to make this work without nohup. Any ideas how can this be fixed in case of using with nohup?
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/HIPS/Spearmint/issues/64#issuecomment-209205309
The spearmint is creating the output/0000*.out files, but not writing anything inside it. It is creating the job files and trace files with the content. It also writes the best results file.
What might be leading to this issue? I am using the following command to run the file.