-
Notifications
You must be signed in to change notification settings - Fork 8
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
Errors when runing synapps #16
Comments
@ngc4594 Are you still having this problem? If so please email me your synapps.yaml and I'll see if I can reproduce the problem. Let me know once you've sent it. |
@rcthomas Thanks so much!! I just emailed the synapps.yaml and the spectra to your gmail address. May I kindly request to to look into this whenever it's convenient for you? |
You can't do a fit with 0 for the error column, so for your science problem you need to come up with an estimate for the flux uncertainty. For the demo problem I was able to modify your synapps.yaml to point to my line list and refs.dat file, and change the target_file to fit the demo.dat and it ran without any error. My guess would be an MPI configuration is at fault if you can't get the demo going, and that's hard for me to debug remotely. |
@rcthomas I just got time to investigate into the issue and sorry for my delay in response. |
@rcthomas and the config:
The fitting ran for a couple hours and aborted without generating a fitted spectrum. The fit of the 'demo.dat' did give both a fitted spectrum and a .cache file. ...... New Min: f=3.74e+14 x=[ 2.65e-01 -1.61e+00 2.30e+00 5.00e+00 3.00e+01 5.00e+00 2.00e+00 2.00e+00 4.00e+00 4.00e+00 5.00e+00 5.00e+00 5.00e+00 5.00e+00 3.00e+01 3.00e+01 3.00e+01 3.00e+01 5.00e+00 5.00e+00 1.00e+01 1.00e+01 2.50e+01 2.50e+01 2.50e+01 2.50e+01 ] step=1.00e-02 tag=5694 state=Evaluated Success: 1066 Final State: Step Converged Final Min: f=3.74e+14 x=[ 2.65e-01 -1.61e+00 2.30e+00 5.00e+00 3.00e+01 5.00e+00 2.00e+00 2.00e+00 4.00e+00 4.00e+00 5.00e+00 5.00e+00 5.00e+00 5.00e+00 3.00e+01 3.00e+01 3.00e+01 3.00e+01 5.00e+00 5.00e+00 1.00e+01 1.00e+01 2.50e+01 2.50e+01 2.50e+01 2.50e+01 ] step=1.00e-02 tag=5694 state=Evaluated Success: 1066 Number of Evaluations : 1105 Thank you!
|
I am working on a sample of hydrogen stripped enveloped supernovae and try to fit spectra using code SYNAPPS. I installed SYNAPPS on my laptop (CORE i5, 8th gen, 8 GB RAM). Whenever I am running code, I am also facing the same error:- """ terminate called after throwing an instance of 'std::bad_alloc' May you please suggest me how to come over it. |
I am trying to run your SYNAPPS code to fit a couple spectra of a type Ia supernova. When I tried to get the program running with the default synapps.yaml (with specified line_dir, ref_file, and target_file) and input spectrum: demo.dat from /es-master/example/,
mpirun -np 2 synapps synapps.yaml
it does not give me outputs.
syn++ works fine on my Ubuntu 14.04.
I've checked HeloiseS and your post but it doesn't fix the problem.
May I kindly ask you to help you to help me figure it out? With many thanks for your help and consideration!
APPSPACK: Asynchronous Parallel Pattern Search
Written by T. G. Kolda et al., Sandia National Labs
For more information visit
http://software.sandia.gov/appspack
###########################################
APPSPACK Initialization Results
*** Parameter List ***
Add Projected Compass = false [default]
Add Projected Normals = true [default]
Bounds Tolerance = 0.005 [default]
Cache Comparison Tolerance = 0.005 [default]
Cache File Precision = 14 [default]
Cache Input File = "target.cache"
Cache Output File = "target.cache"
Contraction Factor = 0.5 [default]
Debug = 3 [default]
Epsilon Max = 0.02 [default]
Initial Step = 1 [default]
Initial X = [ 1.00e+00 -2.60e+00 -5.00e+00 1.07e+01 3.00e+01 1.14e+01 1.14e+00 1.07e+01 3.00e+01 1.35e+00 2.02e+01 ]
Max Queue Size = 0 [default]
Maximum Exchange Return = 1000 [default]
Minimum Exchange Return = 1 [default]
Minimum Step = 0.02 [default]
Precision = 2
Snap To Boundary = true [default]
Step Tolerance = 0.01 [default]
Sufficient Decrease Factor = 0.01 [default]
Synchronous = false [default]
Use Projected Compass = true [unused]
Use Random Order = true
*** Constraints ***
Bound Constraints
lower = [ 0.00e+00 -1.00e+01 -1.00e+01 5.00e+00 1.50e+01 5.00e+00 -2.00e+00 5.00e+00 1.50e+01 1.00e-01 5.00e+00 ]
upper = [ 1.00e+01 1.00e+01 1.00e+01 1.50e+01 3.00e+01 2.50e+01 2.00e+00 1.50e+01 3.00e+01 5.00e+00 2.50e+01 ]
scaling = [ 1.00e+01 2.00e+01 2.00e+01 1.00e+01 1.00e+00 2.00e+01 1.00e+00 1.00e+00 1.00e+00 1.00e+00 1.00e+00 ]
Inequality Constraints
Inequality matrix = [
0.00e+00 0.00e+00 0.00e+00 -1.00e+00 1.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00
0.00e+00 0.00e+00 0.00e+00 -1.00e+00 0.00e+00 0.00e+00 0.00e+00 1.00e+00 0.00e+00 0.00e+00 0.00e+00
0.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00 -1.00e+00 1.00e+00 0.00e+00 0.00e+00
0.00e+00 0.00e+00 0.00e+00 0.00e+00 1.00e+00 0.00e+00 0.00e+00 0.00e+00 -1.00e+00 0.00e+00 0.00e+00
]
Inequality lower = [ 0.00e+00 0.00e+00 0.00e+00 0.00e+00 ]
Inequality upper = [ DNE DNE DNE DNE ]
Equality Constraints
Equality matrix = [
0.00e+00 0.00e+00 0.00e+00 -1.00e+00 0.00e+00 0.00e+00 0.00e+00 1.00e+00 0.00e+00 0.00e+00 0.00e+00
0.00e+00 0.00e+00 0.00e+00 0.00e+00 1.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00
0.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00 1.00e+00 0.00e+00 0.00e+00
]
Equality bound = [ 0.00e+00 3.00e+01 3.00e+01 ]
Problem size summary:
Number of variables: 11
Number of variable bounds: 22 (11 lower, 11 upper)
Number of inequality constraints: 4 (4 lower, 0 upper)
Number of equality constraints: 3
*** Conveyor ***
Using MPI Executor with 1 workers
End APPSPACK Initialization Results
###########################################
New Min: f= DNE x=[ 1.00e+00 -2.60e+00 -5.00e+00 1.07e+01 3.00e+01 1.14e+01 1.14e+00 1.07e+01 3.00e+01 1.35e+00 2.02e+01 ] step=1.00e+00 tag=0 state=Evaluated (Initial Point)
dim. of lineality space: 8
no. of extreme rays in pointy part: 0
terminate called after throwing an instance of 'std::length_error'
what(): vector::_M_fill_insert
===================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= PID 13356 RUNNING AT ngc4594-ThinkPad-W520
= EXIT CODE: 134
= CLEANING UP REMAINING PROCESSES
= YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Aborted (signal 6)
This typically refers to a problem with your application.
Please see the FAQ page for debugging suggestions
The text was updated successfully, but these errors were encountered: