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