[Mesa-users] MESA-r10398 installation problem
Willie Strickland
cwskas at gmail.com
Wed Dec 26 04:08:08 EST 2018
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 <http://www.astro.wisc.edu/~townsend/static.php?ref=mesasdk>
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> wrote:
>
> Hi All:
>
> I tried to upgrade to mesa-r10398 and used two different versions of mesasdk: mesasdk-x86_64-linux-20180127.tar.gz <http://www.astro.wisc.edu/~townsend/resource/download/mesasdk/mesasdk-x86_64-linux-20180127.tar.gz> and mesasdk-x86_64-linux-20180822.tar.gz <http://www.astro.wisc.edu/~townsend/resource/download/mesasdk/mesasdk-x86_64-linux-20180127.tar.gz>
>
> 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 <http://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>
>
> [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://lists.mesastar.org/mailman/listinfo/mesa-users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20181226/9346b8ff/attachment.html>
More information about the Mesa-users
mailing list