[mesa-users] installation error in 4219
Natalia Shabaltas
natalia.shabaltas at gmail.com
Thu Aug 2 23:38:25 EDT 2012
It seems that I am getting a similar error while using the newest mesasdk
on macOS. The relevant parts of my output are below. It also shows a
warning about an illegal preprocessor directive in the file in question.
Please let me know if a solution has been found.
Thanks,
Natalia
======= relevant output:
/Users/nataliash/mesa/num
building num package.
[ extra stuff excised here]
gfortran -fno-range-check -fopenmp -I../../make -I../../public
-I../../../include -I/Applications/mesasdk/include -fbounds-check -g -c
-ffree-form ../src/test_newton.f
Warning: ../src/test_newton.f:10: Illegal preprocessor directive
gfortran -fno-range-check -fopenmp -I../../make -I../../public
-I../../../include -I/Applications/mesasdk/include -fbounds-check -g -c
-ffixed-form -ffixed-line-length-132 ../src/test_mebdfi.f
gfortran -fno-range-check -fopenmp -I../../make -I../../public
-I../../../include -I/Applications/mesasdk/include -fbounds-check -g -c
-ffree-form ../src/test_num.f
gfortran -fopenmp -o ../tester test_support.o test_int_support.o
bari_beam.o test_beam.o bari_chemakzo.o test_chemakzo.o bari_hires.o
test_hires.o bari_emep.o test_emep.o bari_medakzo.o test_medakzo.o
bari_pollu.o test_pollu.o bari_rober.o test_rober.o test_transamp.o
bari_vdpol.o test_vdpol.o bari_vdpol3.o test_vdpol3.o bari_vdpol_x.o
test_vdpol_x.o bari_vdpol3_x.o test_vdpol3_x.o test_diffusion.o test_mix.o
test_brent.o test_hooke.o test_bobyqa.o decsol.o dc_decsol.o rodas.o
test_newton.o test_mebdfi.o test_num.o -L../../make -lnum -L../../../lib
-lmtx -lconst -lmesaklu `mesasdk_lapack_link` `mesasdk_blas_link` -lalert
-lutils -lconst
ld: warning: dylibs with same install name:
/Applications/mesasdk/lib/libgcc_ext.10.5.dylib and
/Applications/mesasdk/lib/libgcc_s.1.dylib
ld: warning: dylibs with same install name:
/Applications/mesasdk/lib/libgcc_ext.10.5.dylib and
/Applications/mesasdk/lib/libgcc_s.1.dylib
ld: warning: dylibs with same install name:
/Applications/mesasdk/lib/libgcc_ext.10.5.dylib and
/Applications/mesasdk/lib/libgcc_s.1.dylib
Undefined symbols for architecture x86_64:
"_set_ptr_4_", referenced from:
___test_newton_MOD_eval_jacobian in test_newton.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make: *** [tester] Error 1
/Users/nataliash/mesa/num/test
FAILED
On Mon, Jul 30, 2012 at 12:30 PM, Phil Arras
<pla7y at mail.astro.virginia.edu>wrote:
>
> hi all,
>
> tried updating to 4219, but got the following error in the num package
>
> ************************************************
>
> /local/stars/mesa/num
> building num package.
>
> make: `libnum.a' is up to date.
> make: `libnum.a' is up to date.
> ifort -openmp -threads -o ../tester test_support.o test_int_support.o
> bari_beam.o test_beam.o bari_chemakzo.o test_chemakzo.o bari_hires.o
> test_hires.o bari_emep.o test_emep.o bari_medakzo.o test_medakzo.o
> bari_pollu.o test_pollu.o bari_rober.o test_rober.o test_transamp.o
> bari_vdpol.o test_vdpol.o bari_vdpol3.o test_vdpol3.o bari_vdpol_x.o
> test_vdpol_x.o bari_vdpol3_x.o test_vdpol3_x.o test_diffusion.o test_mix.o
> test_brent.o test_hooke.o test_bobyqa.o decsol.o dc_decsol.o rodas.o
> test_newton.o test_mebdfi.o test_num.o -L../../make -lnum -L../../../lib
> -lmtx -lconst -lmesaklu -lmesalapack -lmesablas -lalert -lutils -lconst
> test_newton.o: In function `eval_jacobian':
> /local/stars/mesa/num/test/make/../src/test_newton.f:351: undefined
> reference to `set_ptr_4_'
> make: *** [tester] Error 1
>
> /local/stars/mesa/num/test
> FAILED
>
>
> /local/stars/mesa/num
> ./build_and_test FAILED
>
> ************************************************
>
> So it seems it didn't see/understand line 10 of num/test/src/test_newton.f:
>
> #define set_ptr_4 set_pointer_4
>
> Is this syntax standard fortran 90? Anyway, I can't see how to fix it.
> help!
>
>
> setup details:
>
> not using sdk. ifort 64bit version 12. gcc version 4.4.6. red hat CentOS
> 5.7. Version 4088 was compiling/running fine.
>
>
> thanks!
>
> cheers,
>
> Phil Arras
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20120802/c94ce3c0/attachment.html>
More information about the Mesa-users
mailing list