[Mesa-users] Rank mismatch error when building adipls package

Earl Bellinger earlbellinger at gmail.com
Wed Oct 13 22:02:15 UTC 2021


Dear Simon,

It should probably work then if you use the corresponding sdk for that
release:

http://www.astro.wisc.edu/~townsend/static.php?ref=mesasdk

Best regards,
Earl

---
Earl Patrick Bellinger
Postdoctoral Research Fellow
Max Planck Institute for Astrophysics
https://earlbellinger.com


On Wed, Oct 13, 2021 at 11:30 PM Simon Guichandut via Mesa-users <
mesa-users at lists.mesastar.org> wrote:

> Hello everyone,
>
> I am trying to install an older version of MESA (9575) using the most
> recent SDK (x86_64-macos-21.4.1), on MacOS 10.15.7.
>
> I was able to fix the first few bugs but am now stuck at a rank mismatch
> error in the adipls package (see below). Searching through the mailing list
> archive, I can see that this error has appeared in the past, but as a
> warning instead, which did not cause the build to fail.  I assume this has
> to do with the gfortran compiler in the SDK that I am using, but I'm not
> sure how to proceed.  Any help would be much appreciated.
>
> Best,
> Simon Guichandut
>
>
> --------------------------------------------------------------------------------------------
> *Console output *
>
> gfortran   -c -o geninh.d.o geninh.d.f
> geninh.d.f:43:18:
>
>    43 |    40 call eigin4(x,y,rhs,ii,iy,ig,isn,nd1,nn)
>       |                  1
> Error: Rank mismatch in argument 'x' at (1) (scalar and rank-1)
> make[1]: *** [geninh.d.o] Error 1
> cp: libadipls.a: No such file or directory
> make: *** [libadipls.a] Error 1
>
> /Users/simon/Desktop/codes/Mesa/mesa-r9575/adipls/make
> FAILED
>
> /Users/simon/Desktop/codes/Mesa/mesa-r9575/adipls
> ./build_and_test FAILED
>
>
> --------------------------------------------------------------
> *Other info*
>
>    - uname -a
>    - Darwin vlan123-248.physics.mcgill.ca 19.6.0 Darwin Kernel Version
>    19.6.0: Tue Aug 24 20:28:00 PDT 2021; root:xnu-6153.141.40~1/RELEASE_X86_64
>    x86_64
>    -
>    - gfortran -v
>    - Using built-in specs.
>    COLLECT_GCC=/Applications/mesasdk/bin/gfortran.exec
>
>    COLLECT_LTO_WRAPPER=/Applications/mesasdk/bin/../libexec/gcc/x86_64-apple-darwin20.3.0/10.2.0/lto-wrapper
>    Target: x86_64-apple-darwin20.3.0
>    Configured with: /opt/sdk2-tmp/build/gcc/configure CC=clang
>    CXX=clang++ --build=x86_64-apple-darwin20.3.0
>    --host=x86_64-apple-darwin20.3.0 --target=x86_64-apple-darwin20.3.0
>    --prefix=/opt/sdk2-tmp/mesasdk --with-gmp=/opt/sdk2-tmp/mesasdk
>    --with-mpfr=/opt/sdk2-tmp/mesasdk --with-mpc=/opt/sdk2-tmp/mesasdk
>    --enable-languages=c,c++,fortran --disable-multilib --disable-nls
>    --disable-libsanitizer --with-sysroot=/opt/sdk2-tmp/mesasdk/sysroot
>    Thread model: posix
>    Supported LTO compression algorithms: zlib
>    gcc version 10.2.0 (GCC)
>    -
>    - echo $MESASDK_ROOT
>    - /Applications/mesasdk
>    -
>    - echo $PATH
>    -
>    /Users/simon/anaconda3/bin:/Users/simon/anaconda3/condabin:/Applications/mesasdk/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin
>
> _______________________________________________
> mesa-users at lists.mesastar.org
> https://lists.mesastar.org/mailman/listinfo/mesa-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20211014/4415a728/attachment.htm>


More information about the Mesa-users mailing list