-
Notifications
You must be signed in to change notification settings - Fork 2
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
Error while runing simulation #2
Comments
Hi, thank you for using sn_pipe. Would you mind providing the commands you have used (from the git clone) so that I can try to reproduce the problem? Philippe |
Thank you for your response I use : python run_scripts/simulation/run_simulation_from_yaml.py --config_yaml=input/simulation/param_simulation_example.yaml and python run_scripts/simulation/run_simulation_from_yaml.py --RAmin 0. --RAmax 360. --Decmin -24. --Decmax -20. --config_yaml=input/simulation/param_simulation_example.yaml This last doesn't crash but I fund no h5py file in the directory. I try to use desddfv1.4 and v1.5 and I change WFD to DD but error is the same. |
Would you mind trying adding --npixels -1 in the command line? It sounds likeyou are running with --npixels 0 (default) |
I've tried I still have the error message : But it's fllowed by some : nsn from rate [number] (most of the number are 0) Traceback (most recent call last): and Traceback (most recent call last): However some h5py files have been created in the output directory. |
Part of the problem is due to the fact that you are accessing areas with no data. I have included a protection for that in the code. Please reinstall sn_pipe from master and rerun. |
After git pull and python pip_sn_pack.py --action install --package=all, the errors are still here : ######1st error####### Traceback (most recent call last): ######2nd error####### During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
Try ro run with Decmin=-60 Decmax=0. |
The first error seems to be resolved with Decmin=-60 and Decmax=0 but I still have the second type of error : During handling of the above exception, another exception occurred: Traceback (most recent call last): |
All of this point to fact that you are not using the latest version of sn_pipe. Did you install eveything from scratch as I advised? Please do the following:
It seems that you are mixing code versions. So let us start from a clean environment to have a better understanding of what is going on. |
I have uninstall everything, completely delete the sn_pipe directory and I have reinstall everything : now the error with " idx = pixels['pixRA'] > pointing['minRA']" no longer appear even if I don't set Decmin -60 et Decmax 0 . The second error appear only if I use multiprocessing. |
This is very strange: I managed to run on 12 procs with no problem. How do you use multiprocessing? |
I've tried 2 differents ways :
Traceback (most recent call last): |
On which machine are you running? Linux ? Which version?
|
I'm running on mardec at CPPM, the OS is Scientific Linux 7.8 (Nitrogen) I setup the environment by source setup_release.sh file in sn_pipe. |
Ok. thanks. So the environment is the same. Would you mind giving the version of sn_tools and sn_simu_wrapper you are using? |
The pack_version.txt give: list of packages and tagged github versionsn_metrics v1.0.0 and pip freeze | grep sn- give: I didn't find sn_simu_wrapper. |
This is not the information I would need. To know the package version, you can use ipython. An example is given here: The last line should give you the version number |
Sorry, |
Hi,
I try to run a simulation from a yaml file but it's always finnish with the error code :
Before this error I have :
[300rows x 8 columns]
starting
pointings 300
go for multiprocessing 9 <bound method Process.processPatch of <sn_tools.sn_process.Process object at 0x7f61774cfb90>> RA Dec radius_RA ... maxRA minDec maxDec
2702 326.0 29.712134 4.0 ... 328.0 27.683115 31.741153
2703 326.0 33.770172 4.0 ... 328.0 31.741153 35.799192
2704 326.0 37.828211 4.0 ... 328.0 35.799192 39.857230
2705 326.0 41.886249 4.0 ... 328.0 39.857230 43.915268
2706 330.0 -87.970981 4.0 ... 332.0 -90.000000 -85.941962
... ... ... ... ... ... ... ...
2998 362.0 25.654095 4.0 ... 364.0 23.625076 27.683115
2999 362.0 29.712134 4.0 ... 364.0 27.683115 31.741153
3000 362.0 33.770172 4.0 ... 364.0 31.741153 35.799192
3001 362.0 37.828211 4.0 ... 364.0 35.799192 39.857230
3002 362.0 41.886249 4.0 ... 364.0 39.857230 43.915268
[301 rows x 8 columns]
starting
pointings 301
Process Subprocess-9:
Traceback (most recent call last):`
Have you an answer to my problem?
Thanks you,
Bastien Carreres
The text was updated successfully, but these errors were encountered: