[MOAB-dev] Requires fortran compiler?

Barry Smith bsmith at mcs.anl.gov
Tue Jun 4 11:02:13 CDT 2013


On Jun 3, 2013, at 2:49 PM, Rajeev Jain <jain at mcs.anl.gov> wrote:

> We need fortran for support solvers like UNIC and Nek5000. 
> Support for Mac is in early stages. 
> Use the current git repo version and this should work for parallel versions: https://bitbucket.org/fathomteam/moab/overview
> I've just checked in a fix for --disable-fortran option.

   Thanks. Seems to pass configure and compile without fortran compiler now.

   Barry


> 
> Rajeev
> 
> From: Barry Smith <bsmith at mcs.anl.gov>
> To: moab-dev at mcs.anl.gov 
> Sent: Monday, June 3, 2013 1:54 PM
> Subject: [MOAB-dev] Requires fortran compiler?
> 
> 
>   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