rcthomas / es Goto Github PK
View Code? Open in Web Editor NEWElementary Supernova Spectrum Synthesis
Home Page: http://c3.lbl.gov/es
License: Other
Elementary Supernova Spectrum Synthesis
Home Page: http://c3.lbl.gov/es
License: Other
Hello
I have been experiencing an issue with the running time of SYNAPPS on demo.dat. I am currently using the command mpirun -np 8 synapps demo.yaml
to initiate the SYNAPPS process. It has been running for over 5 hours, and there is no indication of when it might finish.
recent output:
New Min: f=3.60e+01 x=[ 9.90e-01 -1.61e+00 2.16e+00 1.15e+01 3.00e+01 7.65e+00 1.76e+00 1.07e+00 -7.00e-01 6.90e-01 2.43e+00 1.09e+00 2.04e+00 3.95e+00 -2.96e+00 1.96e+00 3.00e-01 -2.00e-02 1.15e+01 1.15e+01 1.15e+01 1.15e+01 1.15e+01 1.15e+01 1.15e+01 1.15e+01 1.15e+01 1.15e+01 1.15e+01 1.15e+01 3.00e+01 3.00e+01 3.00e+01 3.00e+01 3.00e+01 3.00e+01 3.00e+01 3.00e+01 3.00e+01 3.00e+01 3.00e+01 3.00e+01 3.60e-01 1.62e+00 1.00e+01 1.23e+00 8.80e-01 7.80e-01 5.50e-01 6.10e-01 3.70e-01 5.30e-01 1.02e+00 7.60e-01 2.38e+01 8.73e+00 2.25e+01 2.50e+01 7.59e+00 9.25e+00 5.28e+00 1.12e+01 1.00e+01 1.46e+01 9.70e+00 1.57e+01 ] step=2.50e-01 tag=5889 state=Evaluated Success: 1324
No errors have been reported in the output; it's still running
Thank you for your assistance.
song xuan
Hi
I can successfully compile SYN++ but I run into a compilation error when I include APPSPACK libraries and headers files to compile SYNAPPS. I am using Ubuntu 20.04.
I used this command to configure:
./configure --prefix=/opt/es-0.98.1 --with-cfitsio-cpp="-I/opt/cfitsio-3.49/include" --with-cfitsio-libs="-L/opt/cfitsio-3.49/lib -lcfitsio" --with-appspack-cpp="-I/opt/appspack-5.0.1/include" --with-appspack-libs="-L/opt/appspack-5.0.1/lib/ -lappspack" --with-blas=/home/orapeleng/lapack-3.9.1/librefblas.a --with-lapack=/home/orapeleng/lapack-3.9.1/liblapack.a
and the results of comes out as:
configure: ======================== Build Configuration =============================
configure: C++ Compiler : g++
configure: MPI C++ Compiler : mpic++
configure: C++ Compile flags : -O3
configure: OpenMP : Detected (-fopenmp)
configure: CFITSIO : -L/opt/cfitsio-3.49/lib -lcfitsio
configure: BLAS : /home/orapeleng/lapack-3.9.1/librefblas.a
configure: LAPACK : -llapack
configure: APPSPACK : -L/opt/appspack-5.0.1/lib/ -lappspack
configure: ==========================================================================
However, the results from compiling with the "make" command gives this error:
ES_Synapps_Config.cc: In constructor ‘ES::Synapps::Config::Config(const YAML::Node&)’:
ES_Synapps_Config.cc:252:44: error: call of overloaded ‘insert(const YAML::Node&)’ is ambiguous
252 | done.insert( config[ "ions" ][ i ] );
| ^
In file included from /usr/include/c++/9/set:61,
from ES_Synapps_Config.cc:36:
/usr/include/c++/9/bits/stl_set.h:509:7: note: candidate: ‘std::pair<typename std::_Rb_tree<_Key, _Key, std::_Identity<_Tp>, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key>::other>::const_iterator, bool> std::set<_Key, _Compare, _Alloc>::insert(const value_type&) [with _Key = int; _Compare = std::less; _Alloc = std::allocator; typename std::_Rb_tree<_Key, _Key, std::_Identity<_Tp>, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key>::other>::const_iterator = std::_Rb_tree_const_iterator; std::set<_Key, _Compare, _Alloc>::value_type = int]’
509 | insert(const value_type& __x)
| ^~~~~~
/usr/include/c++/9/bits/stl_set.h:518:7: note: candidate: ‘std::pair<typename std::_Rb_tree<_Key, _Key, std::_Identity<_Tp>, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key>::other>::const_iterator, bool> std::set<_Key, _Compare, _Alloc>::insert(std::set<_Key, _Compare, _Alloc>::value_type&&) [with _Key = int; _Compare = std::less; _Alloc = std::allocator; typename std::_Rb_tree<_Key, _Key, std::_Identity<_Tp>, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key>::other>::const_iterator = std::_Rb_tree_const_iterator; std::set<_Key, _Compare, _Alloc>::value_type = int]’
518 | insert(value_type&& __x)
| ^~~~~~
/usr/include/c++/9/bits/stl_set.h:578:7: note: candidate: ‘void std::set<_Key, _Compare, _Alloc>::insert(std::initializer_list<_Tp>) [with _Key = int; _Compare = std::less; _Alloc = std::allocator]’
578 | insert(initializer_list<value_type> __l)
| ^~~~~~
make[3]: *** [Makefile:559: libesapps_la-ES_Synapps_Config.lo] Error 1
make[3]: Leaving directory '/home/orapeleng/es-0.98.1/src/synapps'
make[2]: *** [Makefile:398: all-recursive] Error 1
make[2]: Leaving directory '/home/orapeleng/es-0.98.1/src'
make[1]: *** [Makefile:443: all-recursive] Error 1
make[1]: Leaving directory '/home/orapeleng/es-0.98.1'
make: *** [Makefile:375: all] Error 2
Any Idea what might be causing this?
Regards,
Rollin reported in commit 0de1f08 ("Upgraded yaml-cpp API from v0.3 -> v0.5.") that the new yaml-cpp interprets all boolean parameters in the control file as true, even when they're not. Probably missed a ".as< bool >()" in ES::Synapps::Config::Config().
Hi,
I just installed syn++ on Mac OS 10.12.6. I didn't encounter any issues with the configure or make steps. However, when I try to run the example I get the following error:
syn++ demo.yaml
libc++abi.dylib: terminating with uncaught exception of type YAML::TypedKeyNotFound<std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > >: yaml-cpp: error at line 2, column 1: key not found
Abort trap: 6
The only thing I've modified in the demo.yaml file is the path to the atomic data.
I tried to read the yaml file in using Python (to make sure there wasn't anything funny with the format) and that succeeded.
Any thoughts or help would be much appreciated.
Thank you,
Azalee
Hi, I have installed SYNAPPS AND SYN++ and when attempting to run SYNAPPS in the terminal on my linux machine, I get an error of this sort
tjsgarcia@tgarcia-K55VD:~$ mpirun -np 2 synapps synapp.yaml
synapps: error while loading shared libraries: libappspack.so.0: cannot open shared object file: No such file or directory
mpirun noticed that the job aborted, but has no info as to the process
I was wondering if you could help.
Sourced to Eric. It could be helpful to be able to output the reference tau profiles, including all velocity components, from a syn++ run. This would help users to discern easily cases where PV+HV components are degenerate with a PV component that has a shallow gradient.
Hi,
I am getting the following error while executing the command: mpirun -np 16 synapps synapps.yaml
*terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
[raya:11663] ** Process received signal ***
[raya:11663] Signal: Aborted (6)
[raya:11663] Signal code: (-6)
[raya:11663] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x10330)[0x7fdd33dea330]
[raya:11663] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37)[0x7fdd33a4bc37]
[raya:11663] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7fdd33a4f028]
[raya:11663] [ 3] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x155)[0x7fdd34783535]
[raya:11663] [ 4] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x5e6d6)[0x7fdd347816d6]
[raya:11663] [ 5] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x5e703)[0x7fdd34781703]
[raya:11663] [ 6] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x5e922)[0x7fdd34781922]
[raya:11663] [ 7] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb00d2)[0x7fdd347d30d2]
[raya:11663] [ 8] /usr/local/lib/libappspack.so.0(+0x36479)[0x7fdd354dd479]
[raya:11663] [ 9] synapps[0x40a3a6]
[raya:11663] [10] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7fdd33a36f45]
[raya:11663] [11] synapps[0x41dc7e]
mpirun noticed that process rank 0 with PID 0 on node raya exited on signal 6 (Aborted).
--------------------------------------------------------------------------**
What can be the reason?
I don't know if it has something to do with the processor! In that case I am using "Intel® Core™ i5-4570 CPU @ 3.20GHz × 4".
Hello!
I am using Ubuntu 16.04, syn++ runs fine and gives me outputs, Synapps on the other hand doesn't, it keeps crashing and returns what I have pasted below. Could you help me figure it out? I don't really understand what's going on or how to fix it.
Thank you!
###########################################
*** 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
###########################################
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
New Min: f= -nan x=[ 1.00e+00 -2.60e+00 -5.00e+00 1.07e+01 3.00e+01 5.00e+00 1.14e+00 1.07e+01 3.00e+01 1.35e+00 2.02e+01 ] step=1.00e+00 tag=1 state=Cached
dim. of lineality space: 7
no. of extreme rays in pointy part: 1
Final State: Step Converged
Final Min: f= -nan x=[ 1.00e+00 -2.60e+00 -5.00e+00 1.07e+01 3.00e+01 5.00e+00 1.14e+00 1.07e+01 3.00e+01 1.35e+00 2.02e+01 ] step=1.00e+00 tag=1 state=Cached
Number of Evaluations : 1
Number of Cached Evaluations: 127
Evaluation Breakdown by Message Type...
Success: 1
Evaluation Breakdown by Processor and Message Type...
Worker #1
Success: 1
Final Directions:
0 : d = [ 1.00e+01 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 ] step = 7.81e-03
1 : d = [ 0.00e+00 2.00e+01 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 ] step = 7.81e-03
2 : d = [ 0.00e+00 0.00e+00 2.00e+01 0.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00 ] step = 7.81e-03
3 : d = [ 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 ] step = 7.81e-03
4 : d = [ 0.00e+00 0.00e+00 0.00e+00 9.95e-01 0.00e+00 0.00e+00 0.00e+00 9.95e-01 0.00e+00 0.00e+00 0.00e+00 ] step = 7.81e-03
5 : d = [ 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 ] step = 7.81e-03
6 : d = [ 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 ] step = 7.81e-03
7 : d = [-1.00e+01 -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 ] step = 7.81e-03
8 : d = [-0.00e+00 -2.00e+01 -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 ] step = 7.81e-03
9 : d = [-0.00e+00 -0.00e+00 -2.00e+01 -0.00e+00 -0.00e+00 -0.00e+00 -0.00e+00 -0.00e+00 -0.00e+00 -0.00e+00 -0.00e+00 ] step = 7.81e-03
10 : d = [-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 ] step = 7.81e-03
11 : d = [-0.00e+00 -0.00e+00 -0.00e+00 -9.95e-01 -0.00e+00 -0.00e+00 -0.00e+00 -9.95e-01 -0.00e+00 -0.00e+00 -0.00e+00 ] step = 7.81e-03
12 : d = [-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 ] step = 7.81e-03
13 : d = [-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 ] step = 7.81e-03
14 : d = [ 0.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00 2.00e+01 0.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00 ] step = 7.81e-03
15 : d = [ 0.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00 -2.00e+01 0.00e+00 0.00e+00 0.00e+00 0.00e+00 0.00e+00 ] step = 5.00e-03
16 : d = [ 8.29e-16 0.00e+00 0.00e+00 8.24e-18 0.00e+00 0.00e+00 0.00e+00 8.24e-18 0.00e+00 0.00e+00 0.00e+00 ] step = 7.81e-03
Number of times directions calculated by...
LAPACK: 0
CDDLIB: 2
Cached: 0
Max directions in single iteration : 18
Number of times directions appended: 0
This is the command I entered through the terminal:
CPPFLAGS=-I/ghome//akshara/SYNAPPS/cfitsio/include LDFLAGS=-L/ghome//akshara/SYNAPPS/cfitsio/lib ./configure --with-lapack=/ghome/akshara/SYNAPPS/lapack-3.11.0/SRC --with-blas=/ghome/akshara/SYNAPPS/BLAS-3.11.0 --with-appspack-cpp="-I /ghome/akshara/SYNAPPS/appswithmpi/include" --with-appspack-libs="-L /ghome/akshara/SYNAPPS/appswithmpi/lib -lappspack" --prefix=/ghome/akshara/SYNAPPS/synapps
And this is the configuration report I get:
What is the fix for this?
I have Ubuntu 14.04.5 LTS and I installed syn++ and synapps.
I was able to run syn++, but not synapps.
this is the error I get:
$mpirun -num-cores 2 synapps manual_synapps.yaml
ERROR: Program requires at least 2 processors.
but I should have 32 CPU. did I install incorrectly appspack?
This is what I get at the end of the appspack configuration:
configure: ======================== Build Configuration =============================
configure: Serial C Compiler : gcc
configure: Serial C++ Compiler : g++
configure: MPI C++ Compiler : mpic++
configure: C++ Compile flags : -O3
configure: BLAS : -lcblas -lf77blas -latlas
configure: LAPACK : -llapack
configure: =====================================================================
and this is the end of the configuration for es:
configure: ======================== Build Configuration =============================
configure: C++ Compiler : g++
configure: MPI C++ Compiler : mpic++
configure: C++ Compile flags : -O3
configure: OpenMP : Detected (-fopenmp)
configure: CFITSIO : -lcfitsio
configure: BLAS : -lcblas -lf77blas -latlas
configure: LAPACK : -llapack
configure: APPSPACK : -lappspack
configure: =======================================================================
Hi, I've downloaded the es-0.98.1.tar,gz version to install. It configures ok, with no errors or warnings but when I run make I get a bunch of deprecation warnings, an error ": call of overloaded ‘insert(const YAML::Node&)’ is ambiguous" (I googled this and it says it's maybe a problem when calling the compiler, if this is the problem I don't know how to fix it), and finally the Makefile fails. I don't really know what's the problem, maybe you can help me. Below is the whole message I get after running make (some of it is in Spanish).
Thank you very much.
make all-recursive
make[1]: se entra en el directorio '/home/es-0.98.1'
Making all in external
make[2]: se entra en el directorio '/home/es-0.98.1/external'
Making all in yaml
make[3]: se entra en el directorio '/home/es-0.98.1/external/yaml'
make[3]: No se hace nada para 'all'.
make[3]: se sale del directorio '/home/es-0.98.1/external/yaml'
make[3]: se entra en el directorio '/home/es-0.98.1/external'
make[3]: No se hace nada para 'all-am'.
make[3]: se sale del directorio '/home/es-0.98.1/external'
make[2]: se sale del directorio '/home/es-0.98.1/external'
Making all in src
make[2]: se entra en el directorio '/home/es-0.98.1/src'
Making all in libes
make[3]: se entra en el directorio '/home/es-0.98.1/src/libes'
make[3]: No se hace nada para 'all'.
make[3]: se sale del directorio '/home/es-0.98.1/src/libes'
Making all in syn++
make[3]: se entra en el directorio '/home/es-0.98.1/src/syn++'
make[3]: No se hace nada para 'all'.
make[3]: se sale del directorio '/home/es-0.98.1/src/syn++'
Making all in synapps
make[3]: se entra en el directorio '/home/es-0.98.1/src/synapps'
/bin/bash ../../libtool --tag=CXX --mode=compile mpic++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/libes -I../../src/synapps -I../../external/yaml -fopenmp -O3 -MT libesapps_la-ES_Synapps_Config.lo -MD -MP -MF .deps/libesapps_la-ES_Synapps_Config.Tpo -c -o libesapps_la-ES_Synapps_Config.lotest -f 'ES_Synapps_Config.cc' || echo './'
ES_Synapps_Config.cc
libtool: compile: mpic++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/libes -I../../src/synapps -I../../external/yaml -fopenmp -O3 -MT libesapps_la-ES_Synapps_Config.lo -MD -MP -MF .deps/libesapps_la-ES_Synapps_Config.Tpo -c ES_Synapps_Config.cc -fPIC -DPIC -o .libs/libesapps_la-ES_Synapps_Config.o
In file included from ../../external/yaml/yaml-cpp/parser.h:7:0,
from ../../external/yaml/yaml-cpp/yaml.h:8,
from ES_Synapps_Config.cc:34:
../../external/yaml/yaml-cpp/node.h:34:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr Clone() const;
^~~~~~~~
In file included from /usr/include/c++/6/bits/locale_conv.h:41:0,
from /usr/include/c++/6/locale:43,
from /usr/include/c++/6/iomanip:43,
from /usr/local/include/appspack/APPSPACK_Common.hpp:61,
from /usr/local/include/appspack/APPSPACK_Parameter_List.hpp:41,
from ES_Synapps_Config.hh:31,
from ES_Synapps_Config.cc:28:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template class auto_ptr;
^~~~~~~~
In file included from ../../external/yaml/yaml-cpp/yaml.h:8:0,
from ES_Synapps_Config.cc:34:
../../external/yaml/yaml-cpp/parser.h:41:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr m_pScanner;
^~~~~~~~
In file included from /usr/include/c++/6/bits/locale_conv.h:41:0,
from /usr/include/c++/6/locale:43,
from /usr/include/c++/6/iomanip:43,
from /usr/local/include/appspack/APPSPACK_Common.hpp:61,
from /usr/local/include/appspack/APPSPACK_Parameter_List.hpp:41,
from ES_Synapps_Config.hh:31,
from ES_Synapps_Config.cc:28:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template class auto_ptr;
^~~~~~~~
In file included from ../../external/yaml/yaml-cpp/yaml.h:11:0,
from ES_Synapps_Config.cc:34:
../../external/yaml/yaml-cpp/emitter.h:75:8: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr m_pState;
^~~~~~~~
In file included from /usr/include/c++/6/bits/locale_conv.h:41:0,
from /usr/include/c++/6/locale:43,
from /usr/include/c++/6/iomanip:43,
from /usr/local/include/appspack/APPSPACK_Common.hpp:61,
from /usr/local/include/appspack/APPSPACK_Parameter_List.hpp:41,
from ES_Synapps_Config.hh:31,
from ES_Synapps_Config.cc:28:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
template class auto_ptr;
^~~~~~~~
ES_Synapps_Config.cc: In constructor ‘ES::Synapps::Config::Config(const YAML::Node&)’:
ES_Synapps_Config.cc:252:44: error: call of overloaded ‘insert(const YAML::Node&)’ is ambiguous
done.insert( config[ "ions" ][ i ] );
^
In file included from /usr/include/c++/6/set:61:0,
from ES_Synapps_Config.cc:36:
/usr/include/c++/6/bits/stl_set.h:480:7: note: candidate: std::pair<typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key>::other>::const_iterator, bool> std::set<_Key, _Compare, _Alloc>::insert(const value_type&) [with _Key = int; _Compare = std::less; _Alloc = std::allocator; typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key>::other>::const_iterator = std::_Rb_tree_const_iterator; std::set<_Key, _Compare, _Alloc>::value_type = int]
insert(const value_type& __x)
^~~~~~
/usr/include/c++/6/bits/stl_set.h:489:7: note: candidate: std::pair<typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key>::other>::const_iterator, bool> std::set<_Key, _Compare, _Alloc>::insert(std::set<_Key, _Compare, _Alloc>::value_type&&) [with _Key = int; _Compare = std::less; _Alloc = std::allocator; typename std::_Rb_tree<_Key, _Key, std::_Identity<_Key>, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key>::other>::const_iterator = std::_Rb_tree_const_iterator; std::set<_Key, _Compare, _Alloc>::value_type = int]
insert(value_type&& __x)
^~~~~~
/usr/include/c++/6/bits/stl_set.h:549:7: note: candidate: void std::set<_Key, _Compare, _Alloc>::insert(std::initializer_list<_Tp>) [with _Key = int; _Compare = std::less; _Alloc = std::allocator]
insert(initializer_list<value_type> __l)
^~~~~~
Makefile:559: fallo en las instrucciones para el objetivo 'libesapps_la-ES_Synapps_Config.lo'
make[3]: *** [libesapps_la-ES_Synapps_Config.lo] Error 1
make[3]: se sale del directorio '/home/es-0.98.1/src/synapps'
Makefile:398: fallo en las instrucciones para el objetivo 'all-recursive'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio '/home/es-0.98.1/src'
Makefile:443: fallo en las instrucciones para el objetivo 'all-recursive'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio '/home/es-0.98.1'
Makefile:375: fallo en las instrucciones para el objetivo 'all'
make: *** [all] Error 2
Sourced to Kate. It would be nice if there was a way to have the target spectrum output with the flattening correction applied to it. This is easy to do in synapps, since synapps knows target spectrum and could output the flattened version by just correcting it. If one wants to take the flattening correction from a syn++ input file and apply it, syn++ would need to know the target spectrum. An option "--target" could be added which would not necessarily duplicate or collide with "--wl-from" since the argument of the latter option needn't necessarily be the target spectrum.
After successfully running the code SYNAPPS, where do I get the best fit values of opacity, temperature and other parameters? What does 'f' and 'x' in cache file mean as shown below?
"""""""""""""""""""""""""""""""""""
New Min: f=5.14e+02 x=[ 6.92e-01 2.61e-01 4.64e-01 1.42e+01 3.00e+01 1.29e+01 -1.47e+00 1.81e+00 1.21e-01 -1.16e+00 2.00e+00 2.00e+00 1.02e+00 0.00e+00 2.00e+00 1.31e+00 1.44e+00 1.88e+00 -8.18e-01 3.75e-02 -9.94e-02 1.88e+00 2.00e+00 4.75e-01 2.00e+00 1.42e+01 1.42e+01 1.42e+01 1.42e+01 1.42e+01 1.42e+01 1.42e+01 1.42e+01 1.42e+01 1.42e+01 1.42e+01 1.42e+01 1.42e+01 1.42e+01 1.42e+01 1.42e+01 1.42e+01 1.42e+01 1.42e+01 2.50e+01 2.50e+01 2.50e+01 2.50e+01 2.50e+01 2.50e+01 2.50e+01 2.50e+01 2.50e+01 2.50e+01 2.50e+01 2.50e+01 2.50e+01 2.50e+01 2.50e+01 2.50e+01 2.50e+01 2.50e+01 2.50e+01 6.25e-01 9.50e-01 5.00e+00 2.10e+00 7.00e-01 8.00e-01 1.00e-01 1.00e-01 1.00e+00 1.00e+00 9.87e-01 1.10e+00 1.10e+00 5.00e+00 5.00e+00 1.23e+00 1.10e+00 2.23e+00 1.16e+00 1.20e+01 1.76e+01 5.00e+00 1.51e+01 9.69e+00 2.50e+01 1.00e+01 1.00e+01 9.38e+00 5.44e+00 1.40e+01 1.26e+01 2.50e+01 2.50e+01 5.00e+00 1.12e+01 5.00e+00 2.50e+01 2.50e+01 ] step=6.25e-02 tag=100288 state=Evaluated Success: 15034
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Should move the webpage to the github pages thing.
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!
###########################################
*** 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
###########################################
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
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
Check for the yaml dependencies in python module setup.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.