I checked the config.log and the following is the log related to the "checking for Fortran 77 name-mangling scheme... unknown" message. which gfortran gives me /usr/bin/gfortran and if I set F77=/usr/bin/gfortran I get the same message. I am wondering if you have any suggestions on this. Thanks!
configure:21385: checking for Fortran 77 name-mangling scheme configure:21398: /usr/bin/gfortran -c -g -O2 conftest.f >&5 configure:21398: $? = 0 configure:21439: gcc -o conftest -g -O2 -ffast-math conftest.c cfortran_test.o -lfftw3 -lm -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr\ /lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/\ ../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. -lfftw3 -lgfortran -lm -lquadmath >&5 /home/mx83/anaconda3/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/bin/ld: cfortran_test.o: \ unable to initialize decompress status for section .debug_info /home/mx83/anaconda3/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/bin/ld: cfortran_test.o: \ unable to initialize decompress status for section .debug_info /home/mx83/anaconda3/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/bin/ld: cfortran_test.o: \ unable to initialize decompress status for section .debug_info /home/mx83/anaconda3/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/bin/ld: cfortran_test.o: \ unable to initialize decompress status for section .debug_info cfortran_test.o: file not recognized: file format not recognized collect2: error: ld returned 1 exit status On Wed, Jan 6, 2021 at 10:56 AM Steven G. Johnson <stevenj....@gmail.com> wrote: > > > > On Jan 5, 2021, at 11:22 AM, Mandy Xia <m...@cornell.edu> wrote: > > > > I checked the configure output and it says "checking for Fortran 77 > name-mangling scheme... unknown configure: WARNING: unknown Fortran > name-mangling scheme" so it seems that it had some trouble with the Fortran > compiler. I think gfortran is installed in the system and I also have it > installed using conda. I also tried to explicitly pass in F77=gfortran when > configuring MEEP, and the configure process stopped with the following > error "configure: error: linking to Fortran libraries from C fails". I'm > wondering if there is a way to fix this. Thanks! > > You can look in the config.log file to see what caused this test to fail. > >
_______________________________________________ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss