Re: [Meep-discuss] Build MEEP error
This error message makes it seem like your compiler installation is broken somehow — it looks like you have multiple versions of gcc and gfortran installed, one in /usr/bin and one in your /home/mx83/anaconda3 installation? I would suggest using /usr/bin/gcc if you are using /usr/bin/gfortran. > On Jan 6, 2021, at 1:40 PM, Mandy Xia wrote: > > unable to initialize decompress status for section .debug_info ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss
Re: [Meep-discuss] Build MEEP error
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 wrote: > > > > On Jan 5, 2021, at 11:22 AM, Mandy Xia 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
Re: [Meep-discuss] Build MEEP error
> On Jan 5, 2021, at 11:22 AM, Mandy Xia 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
Re: [Meep-discuss] Build MEEP error
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! On Tue, Jan 5, 2021 at 11:02 AM Steven G. Johnson wrote: > > > On Jan 5, 2021, at 9:20 AM, Mandy Xia wrote: > "multilevel-atom.cpp:80:25: error: variable or field ‘F77_FUNC’ declared > void > #define DGETRF F77_FUNC(dgetrf, DGETRF) > > > F77_FUNC etcetera are macros defined (in config.h) by the configure script > in order to interface with your Fortran compiler. In the configure output, > you should see something like: > > checking for Fortran 77 name-mangling scheme... (cached) lower case, > underscore, no extra underscore > > > Maybe you don't have a Fortran compiler or there is some other failure in > the configure script here? > > ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss
Re: [Meep-discuss] Build MEEP error
> On Jan 5, 2021, at 9:20 AM, Mandy Xia wrote: > "multilevel-atom.cpp:80:25: error: variable or field ‘F77_FUNC’ declared void > #define DGETRF F77_FUNC(dgetrf, DGETRF) F77_FUNC etcetera are macros defined (in config.h) by the configure script in order to interface with your Fortran compiler. In the configure output, you should see something like: checking for Fortran 77 name-mangling scheme... (cached) lower case, underscore, no extra underscore Maybe you don't have a Fortran compiler or there is some other failure in the configure script here? ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss