[MOAB-dev] compilation issues on mac with disable_fortran

Lorenzo Alessio Botti bottilorenzo at gmail.com
Mon May 18 06:18:06 CDT 2015


Hi all, 
trying to compile moab 4.7 or 4.8 on a mac with fortran disabled the compilation fails. 
Even reenabling the check at line 137 of compiler.m4 I get

dlm249-198:moab-4.8.1 ihabia$ ./configure --disable-fortran --disable-imesh --with-mpi=/Users/ihabia/src2/mpich-3.0.4/mpich3/ --with-hdf5=/Users/ihabia/src2/hdf5-1.8.14/hdf5/ --prefix=/Users/ihabia/src2/moab-4.8.2_pre/moab
checking build system type... x86_64-apple-darwin14.3.0
checking host system type... x86_64-apple-darwin14.3.0
checking target system type... x86_64-apple-darwin14.3.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for sed... sed
checking for style of include used by make... GNU
checking for gcc... /Users/ihabia/src2/mpich-3.0.4/mpich3/bin/mpicc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /Users/ihabia/src2/mpich-3.0.4/mpich3/bin/mpicc accepts -g... yes
checking for /Users/ihabia/src2/mpich-3.0.4/mpich3/bin/mpicc option to accept ISO C89... none needed
checking whether /Users/ihabia/src2/mpich-3.0.4/mpich3/bin/mpicc understands -c and -o together... yes
checking dependency style of /Users/ihabia/src2/mpich-3.0.4/mpich3/bin/mpicc... gcc3
checking how to run the C preprocessor... /Users/ihabia/src2/mpich-3.0.4/mpich3/bin/mpicc -E
checking whether we are using the GNU C++ compiler... yes
checking whether /Users/ihabia/src2/mpich-3.0.4/mpich3/bin/mpicxx accepts -g... yes
checking dependency style of /Users/ihabia/src2/mpich-3.0.4/mpich3/bin/mpicxx... gcc3
checking how to run the C++ preprocessor... /Users/ihabia/src2/mpich-3.0.4/mpich3/bin/mpicxx -E
checking how to get verbose linking output from ... configure: WARNING: compilation failed

checking for Fortran 77 libraries of ... 
checking for dummy main to link with Fortran 77 libraries... none
checking for Fortran 77 name-mangling scheme... configure: error: in `/Users/ihabia/src2/moab-4.8.1':
configure: error: cannot compile a simple Fortran program
See `config.log' for more details

I don’t understand where this check is taking place.
MOAB 4.6.3 seems to work, any help is appreciated.


Bests
Lorenzo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20150518/601d6690/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 20189 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20150518/601d6690/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20150518/601d6690/attachment-0001.html>


More information about the moab-dev mailing list