Open g-braeunlich opened 1 year ago
Did anybody have a look at this already?
Hi, It does not relate to your topic but I want to ask you how can you install sextractor, I get problem when trying to install atlas. Thank you for reading, I am looking forward to your response.
I just used the package from ubuntu https://packages.ubuntu.com/source/jammy/atlas / the preinstalled version of atlas on our cluster. Other than that, I dont have experience with installing atlas.
I follow the steps to install atlas 1) mkdir my_build_dir ; cd my_build_dir 2) /path/to/ATLAS/configure [flags] 3) make ! tune and compile library 4) make check ! perform sanity tests 5) make ptcheck ! checks of threaded code for multiprocessor systems 6) make time ! provide performance summary as % of clock rate 7) make install ! Copy library and include files to other directories then in step 2 I put the path of configure then run and get trouble home/isaac/Downloads/atlas_3.10.3.orig/atlas-3.10.3/configure [flags]
gcc -I/home/isaac/Downloads/atlas_3.10.3.orig/atlas-3.10.3//CONFIG/include -g -w -c /home/isaac/Downloads/atlas_3.10.3.orig/atlas-3.10.3//CONFIG/src/atlconf_misc.c
gcc -I/home/isaac/Downloads/atlas_3.10.3.orig/atlas-3.10.3//CONFIG/include -g -w -o xconfig /home/isaac/Downloads/atlas_3.10.3.orig/atlas-3.10.3//CONFIG/src/config.c atlconf_misc.o
/usr/bin/ld: /tmp/ccLh2Z8e.o: in function ATL_tmpnam': /home/isaac/Downloads/atlas_3.10.3.orig/atlas-3.10.3//CONFIG/include/atlas_sys.h:224: warning: the use of
tmpnam' is dangerous, better use `mkstemp'
./xconfig -d s /home/isaac/Downloads/atlas_3.10.3.orig/atlas-3.10.3/ -d b /home/isaac/Downloads/atlas_3.10.3.orig/atlas-3.10.3/my_build_dir [flags]
ERROR around arg 7 ([flags]).
USAGE: ./xconfig [flags] where flags are:
-v : set # of threads, use list of affinity IDs
-Si omp <0/1> : don'tuse/use OpenMP for threading
-Si antthr <0/1/2> : nobuild/build/use Antoine's code for threading
-Si lapackref <0/1>: Netlib lapack is not/is unpacked
to $BLDdir/src/lapack/ref
-Ss kern <path/to/comp> : use comp for all kernel compilers
-Ss ADdir <path/to/archdefs> : Get archdefs frm custom path
-Ss pmake <parallel make invocation (eg '$(MAKE) -j 4')>
-Ss f77lib
Can you help me to install that.
Sorry, as I said: I did not compile it myself and I dont know your system (probably Windows). This problem also does not belong to to this issue.
yes, I use ubuntu 20.04 to install that, so I want to ask you steps you do to install atlas.
I just used sudo apt-get install atlas
. Note: I wont reply any further in this issue about installing atlas
You seem to be compiling without any gcc optimization flags; at least they are missing in the few gcc log-lines posted 2022-11-14. This probably means that for basically every operation only the 32 or 64bits of the memory representation of the (floating point) numbers will be used. To get the standard implementation of using all bits on your processor registers use at least -O2 .
Did a quick test using sextractor version 2.25.0. Note: although, I was using an old gcc version on a HPC cluster, also up to date versions of gcc seem to lead to almost the same result.
gcc/4.8.5 + fftw/3.3.9 + atlas/3.10.2
intel/2018.1 (+ mkl)
Do you have an idea, what could be the cause of this? I debugged a bit the field
FLUX_RADIUS
. I saw that this is mostly computed in src/growth.c. Already there, there seems to be a slight discrepancy:pix = 6.5818e-07
(gcc)pix = 6.5819e-07
(intel)Input
deafult.conv
default.nnw
run.sh
user.param
gc_msx_e.fits: Taken from here: https://www.astropy.org/astropy-data/galactic_center/gc_msx_e.fits