[Mesa-users] MESA-r10398 installation problem

AbdelBassit Abdessamed Senhadji sen-abd at hotmail.fr
Wed Dec 26 10:45:43 EST 2018


Thanks

echo $MESASDK_ROOT gives me:

/home/sena2703/mesasdk

echo $MESA_DIR gives me:

/home/sena2703/mesa


Yes I followed exactly what they said. I installed MESA many times before and never had this kind of problem. I don’t have the gfortran 7.3.0 but the 7.2.0.


From: Willie Strickland<mailto:cwskas at gmail.com>
Sent: Wednesday, December 26, 2018 4:but 08 AM
To: AbdelBassit Abdessamed Senhadji<mailto:sen-abd at hotmail.fr>
Cc: mesa-users at lists.mesastar.org<mailto:mesa-users at lists.mesastar.org>
Subject: Re: [Mesa-users] MESA-r10398 installation problem

What is the output of the following command?

echo $MESASDK_ROOT

Did you set the PATH to the SDK?  Did you source the SDK?

>From    http://www.astro.wisc.edu/~townsend/static.php?ref=mesasdk<https://eur04.safelinks.protection.outlook.com/?url=http:%2F%2Fwww.astro.wisc.edu%2F~townsend%2Fstatic.php%3Fref%3Dmesasdk&data=02%7C01%7C%7Ca0591034950240ece73408d66b11a934%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636814120923971596&sdata=UPjEY%2Bf3ePtVAT2iW%2BJoCAlqJqeROTnm0M0q53Z4%2B0c%3D&reserved=0>

Set the path to the SDK:
For the C shell: setenv MESASDK_ROOT ~/mesasdk
For the Bourne shell: export MESASDK_ROOT=~/mesasdk

Initialize the SDK (also checks compatibility):
For the C shell: source $MESASDK_ROOT/bin/mesasdk_init.csh
For the Bourne shell: source $MESASDK_ROOT/bin/mesasdk_init.sh

Check that the SDK is properly installed by running gfortran --version. The first line of the output should look something like this:
GNU Fortran (GCC) 7.3.0

If it doesn't, then you should consult the Troubleshooting section below.


It appears from your $PATH that you have the SDK installed in two different locations. It appears from the output you posted that the first contains gfortran 7.2.0.  What happens if you set MESASDK_ROOT to the second path?

/home/sena2703/mesasdk/bin
/home/sena2703/scratch/dec_2018/mesasdk/bin


Willie




On Dec 25, 2018, at 10:50 AM, AbdelBassit Abdessamed Senhadji <sen-abd at hotmail.fr<mailto:sen-abd at hotmail.fr>> wrote:

Hi All:

I tried to upgrade to mesa-r10398 and used two different versions of mesasdk: mesasdk-x86_64-linux-20180127.tar.gz<https://eur04.safelinks.protection.outlook.com/?url=http:%2F%2Fwww.astro.wisc.edu%2F~townsend%2Fresource%2Fdownload%2Fmesasdk%2Fmesasdk-x86_64-linux-20180127.tar.gz&data=02%7C01%7C%7Ca0591034950240ece73408d66b11a934%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636814120923971596&sdata=Snm0fae9zwGdbHhUrxwn5AolLP%2FnsGka3bymng1uF0g%3D&reserved=0> and mesasdk-x86_64-linux-20180822.tar.gz<https://eur04.safelinks.protection.outlook.com/?url=http:%2F%2Fwww.astro.wisc.edu%2F~townsend%2Fresource%2Fdownload%2Fmesasdk%2Fmesasdk-x86_64-linux-20180127.tar.gz&data=02%7C01%7C%7Ca0591034950240ece73408d66b11a934%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636814120923971596&sdata=Snm0fae9zwGdbHhUrxwn5AolLP%2FnsGka3bymng1uF0g%3D&reserved=0>

I am facing the same problem. I’ve copied the error message. Is it due to gfortran version or crlibm ?

For gfortran I have the 7.2.0 version not 7.3.0 as said in the mesasdk website.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
make: 'libf2crlibm.a' is up to date.
gfortran -Wno-uninitialized -fno-range-check -fmax-errors=12  -fprotect-parenfno-sign-zero -fbacktrace -ggdb -finit-real=snan -fopenmp -I../../make -I../.ublic -I../../../include -fbounds-check -Wuninitialized -Warray-bounds  -c -fe-form -x f95-cpp-input ../src/test_crlibm.f
gfortran -fopenmp -o ../tester test_crlibm.o \
-L../../make -lf2crlibm -lcrlibm -L../../../lib -lutils -lconst

FAILED


/home/sena2703/scratch/dec_2018/mesa/crlibm/test
./build_and_test FAILED


/home/sena2703/scratch/dec_2018/mesa/crlibm
./build_and_test FAILED
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



[sena2703 at ip19-mp2 mesa]$ uname -a
Linux ip19 3.10.0-862.3.2.el7.x86_64 #1 SMP Mon May 21 23:36:36 UTC 2018 x86_64 GNU/Linux


[sena2703 at ip19-mp2 mesa]$ gfortran -v
Using built-in specs.
COLLECT_GCC=/home/sena2703/mesasdk/bin/gfortran.exec
COLLECT_LTO_WRAPPER=/home/sena2703/mesasdk/bin/../libexec/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /root/mesasdk-src/gcc/configure CC=gcc --build=x86_64-pc-linux-gnu --prefix=/root/mesasdk --with-gmp=/root/mesasdk --with-mpfr=/root/mesasdk --with-mpc=/root/mesasdk --enable-languages=c,c++,fortran --disable-multilib --disable-nls --disable-libsanitizer --enable-clocale=generic
Thread model: posix
gcc version 7.2.0 (GCC)


[sena2703 at ip19-mp2 mesa]$ echo $PATH
/home/sena2703/mesasdk/bin:/home/sena2703/scratch/dec_2018/mesasdk/bin:/opt/software/slurm/bin:/cvmfs/soft.computecanada.ca/easybuild/software/2017/sse3/Compiler/intel2016.4/openmpi/2.1.1/bin:/cvmfs/soft.computecanada.ca/easybuild/software/2017/Core/imkl/11.3.4.258/mkl/bin:/cvmfs/soft.computecanada.ca/easybuild/software/2017/Core/imkl/11.3.4.258/bin:/cvmfs/soft.computecanada.ca/easybuild/software/2017/Core/ifort/2016.4.258/compilers_and_libraries_2016.4.258/linux/bin/intel64:/cvmfs/soft.computecanada.ca/nix/var/nix/profiles/gcc-5.4.0/bin:/cvmfs/soft.computecanada.ca/easybuild/software/2017/Core/icc/2016.4.258/compilers_and_libraries_2016.4.258/linux/bin/intel64:/cvmfs/soft.computecanada.ca/easybuild/bin:/cvmfs/soft.computecanada.ca/custom/bin:/cvmfs/soft.computecanada.ca/nix/var/nix/profiles/16.09/bin:/cvmfs/soft.computecanada.ca/nix/var/nix/profiles/16.09/sbin:/usr/lib64/qt-3.3/bin:/opt/software/bqtools/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/sena2703/.local/bin:/home/sena2703/bin<https://eur04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsoft.computecanada.ca%2Feasybuild%2Fsoftware%2F2017%2Fsse3%2FCompiler%2Fintel2016.4%2Fopenmpi%2F2.1.1%2Fbin%3A%2Fcvmfs%2Fsoft.computecanada.ca%2Feasybuild%2Fsoftware%2F2017%2FCore%2Fimkl%2F11.3.4.258%2Fmkl%2Fbin%3A%2Fcvmfs%2Fsoft.computecanada.ca%2Feasybuild%2Fsoftware%2F2017%2FCore%2Fimkl%2F11.3.4.258%2Fbin%3A%2Fcvmfs%2Fsoft.computecanada.ca%2Feasybuild%2Fsoftware%2F2017%2FCore%2Fifort%2F2016.4.258%2Fcompilers_and_libraries_2016.4.258%2Flinux%2Fbin%2Fintel64%3A%2Fcvmfs%2Fsoft.computecanada.ca%2Fnix%2Fvar%2Fnix%2Fprofiles%2Fgcc-5.4.0%2Fbin%3A%2Fcvmfs%2Fsoft.computecanada.ca%2Feasybuild%2Fsoftware%2F2017%2FCore%2Ficc%2F2016.4.258%2Fcompilers_and_libraries_2016.4.258%2Flinux%2Fbin%2Fintel64%3A%2Fcvmfs%2Fsoft.computecanada.ca%2Feasybuild%2Fbin%3A%2Fcvmfs%2Fsoft.computecanada.ca%2Fcustom%2Fbin%3A%2Fcvmfs%2Fsoft.computecanada.ca%2Fnix%2Fvar%2Fnix%2Fprofiles%2F16.09%2Fbin%3A%2Fcvmfs%2Fsoft.computecanada.ca%2Fnix%2Fvar%2Fnix%2Fprofiles%2F16.09%2Fsbin%3A%2Fusr%2Flib64%2Fqt-3.3%2Fbin%3A%2Fopt%2Fsoftware%2Fbqtools%2Fbin%3A%2Fusr%2Flocal%2Fbin%3A%2Fusr%2Fbin%3A%2Fusr%2Flocal%2Fsbin%3A%2Fusr%2Fsbin%3A%2Fhome%2Fsena2703%2F.local%2Fbin%3A%2Fhome%2Fsena2703%2Fbin&data=02%7C01%7C%7Ca0591034950240ece73408d66b11a934%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636814120923971596&sdata=kWgMHyOGoCjfESvY0eHiz3MkI1lbEKUecHFdM1gJ2cA%3D&reserved=0>

[sena2703 at ip19-mp2 mesa]$ echo $MESA_DIR
/home/sena2703/scratch/dec_2018/mesa



Any help will be appreciated !

Happy holidays!

Cheers,
Abdel

_______________________________________________
mesa-users at lists.mesastar.org<mailto:mesa-users at lists.mesastar.org>
https://lists.mesastar.org/mailman/listinfo/mesa-users<https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.mesastar.org%2Fmailman%2Flistinfo%2Fmesa-users&data=02%7C01%7C%7Ca0591034950240ece73408d66b11a934%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636814120923971596&sdata=f%2FDtAqyqlKNLPiqRL6MYLglMerNrABhb2Qf2IjGjx28%3D&reserved=0>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20181226/5bd124f3/attachment.html>


More information about the Mesa-users mailing list