[MOAB-dev] Requires fortran compiler?
Barry Smith
bsmith at mcs.anl.gov
Mon Jun 3 13:54:38 CDT 2013
Does MOAB really require a Fortran compiler?
~/Src/petsc barry/xolotl $ open -a Emacs extern./configure --download-mpich --with-cc=clang --with-cxx=clang++ --with-clanguage=c++ --with-fc=0 --download-netcdf --download-hdf5 --download-moab
===============================================================================
Configuring PETSc to compile on your system
===============================================================================
=============================================================================== Running configure on MOAB; this may take several minutes =============================================================================== *******************************************************************************
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):
-------------------------------------------------------------------------------
Error running configure on MOAB: Could not execute "cd /Users/barrysmith/Src/PETSc/externalpackages/moab-4.7.0pre && ./configure --prefix=/Users/barrysmith/Src/PETSc/arch-xolotl CC="/Users/barrysmith/Src/PETSc/arch-xolotl/bin/mpicc" CFLAGS=" -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -fno-inline -O0 " CXX="/Users/barrysmith/Src/PETSc/arch-xolotl/bin/mpicxx" CXXFLAGS=" -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -fPIC " --disable-fortran --disable-fc --disable-f77 --disable-f90 --enable-shared --with-mpi=/Users/barrysmith/Src/PETSc/arch-xolotl --with-hdf5=/Users/barrysmith/Src/PETSc/arch-xolotl --with-netcdf=/Users/barrysmith/Src/PETSc/arch-xolotl":
checking build system type... i386-apple-darwin12.3.0
checking host system type... i386-apple-darwin12.3.0
checking target system type... i386-apple-darwin12.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... gawk
checking whether make sets $(MAKE)... yes
checking for sed... sed
checking for style of include used by make... GNU
configure: WARNING: unrecognized options: --disable-fc, --disable-f77, --disable-f90
configure: error: Cannot find MPI compiler. Try specifying $FC
This is using the nightly
self.downloadpath = 'http://ftp.mcs.anl.gov/pub/fathom/'
self.downloadname = 'moab'
self.downloadfilename = 'moab'
self.downloadversion = 'nightly'
self.downloadext = 'tar.gz'
version of moab.
If not I suggest you support the various disable flags for the fortran compiler (fortran compilers are a pain on Macs if not needed).
Barry
More information about the moab-dev
mailing list