Thread: [Apbs-users] 1.0.0 install problem: CFLAG passed to Fortran compiler
Biomolecular electrostatics software
Brought to you by:
sobolevnrm
From: Chang, C. <Chr...@nr...> - 2008-04-22 00:39:17
|
Hello, While trying to build the latest APBS, during make I encounter the following error: mpif77 -g -nofor_main -mtune=opteron -g -nofor_main -o .libs/apbs main.o /copt/2.0/apbs_fetk/build/bin/.libs/libapbsmainroutines.so /copt/2.0/apbs_fetk/build/src/aaa_lib/.libs/libapbs.so -L/copt/2.0/apbs_fetk/1.0.0/lib/ /copt/2.0/apbs_fetk/1.0.0/lib//libmaloc.so -lm -L/copt/2.0/atlas/3.8.1/cgccfifort/lib -Wl,--rpath -Wl,/copt/2.0/apbs_fetk/1.0.0/lib -Wl,--rpath -Wl,/copt/2.0/apbs_fetk/1.0.0/lib/ ifort: command line error: invalid argument for option '-m' make[1]: *** [apbs] Error 1 make[1]: Leaving directory `/data3/copt/2.0/apbs_fetk/build/bin' The "-mtune-opteron" flag is defined for CFLAGS and CXXFLAGS, but not for FFLAGS. The Makefile in the bin directory doesn't have anything fishy, so how is that flag being passed to the Fortran compiler??? FYI, the configure script was modified to ensure blas_found is set to yes; the configure test is not confirming the ATLAS libraries, but I can't tell if it's a name mangling issue or something else. Hard paths are added to the Makefile after configure. Appreciate the help. Thanks, Chris |
From: Nathan B. <ba...@cc...> - 2008-04-22 01:40:24
|
Hi Chris -- > While trying to build the latest APBS, during make I encounter > the following error: > > mpif77 -g -nofor_main -mtune=opteron -g -nofor_main -o .libs/apbs > main.o /copt/2.0/apbs_fetk/build/bin/.libs/libapbsmainroutines.so / > copt/2.0/apbs_fetk/build/src/aaa_lib/.libs/libapbs.so -L/copt/2.0/ > apbs_fetk/1.0.0/lib/ /copt/2.0/apbs_fetk/1.0.0/lib//libmaloc.so -lm - > L/copt/2.0/atlas/3.8.1/cgccfifort/lib -Wl,--rpath -Wl,/copt/2.0/ > apbs_fetk/1.0.0/lib -Wl,--rpath -Wl,/copt/2.0/apbs_fetk/1.0.0/lib/ > ifort: command line error: invalid argument for option '-m' > make[1]: *** [apbs] Error 1 > make[1]: Leaving directory `/data3/copt/2.0/apbs_fetk/build/bin' > The "-mtune-opteron" flag is defined for CFLAGS and CXXFLAGS, but > not for FFLAGS. The Makefile in the bin directory doesn't have > anything fishy, so how is that flag being passed to the Fortran > compiler??? A 'grep -r mtune *' through the APBS source tree doesn't turn up anything; I don't recall any of us adding Opteron-specific options. Could this option be passed via the mpif77 wrapper? Have you tried compiling with a simpler compiler first? > FYI, the configure script was modified to ensure blas_found is set > to yes; the configure test is not confirming the ATLAS libraries, > but I can't tell if it's a name mangling issue or something else. > Hard paths are added to the Makefile after configure. Can you send the config.log for the ./configure execution that fails to find the ATLAS libraries? Thanks, Nathan > Appreciate the help. > > Thanks, > > Chris > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save > $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________ > apbs-users mailing list > apb...@li... > https://lists.sourceforge.net/lists/listinfo/apbs-users -- Associate Professor, Dept. of Biochemistry and Molecular Biophysics Center for Computational Biology, Washington University in St. Louis Web: http://cholla.wustl.edu/ -- Associate Professor, Dept. of Biochemistry and Molecular Biophysics Center for Computational Biology, Washington University in St. Louis Web: http://cholla.wustl.edu/ |