[MOAB-dev] problem with --disable-fortran
Lorenzo Alessio Botti
bottilorenzo at gmail.com
Mon Jun 3 10:44:41 CDT 2013
Dear Tim, dear all,
it seems that the issue was related to the function FATHOM_SET_MPI_COMPILER in config/compiler.m4 trying to set the MPI_FORTRAN_COMPILERS even if the flag --disable-fortran was set.
To fix this issue I modified compiler.m4 and configure.ac, here attached.
The relevant line is 111 in compiler.m4, note that CHECK_FC is set to no if --disable-fortran is detected, see configure.ac line 29.
In configure.ac I moved FATHOM_CHECK_COMPILERS after the relative AM_CONDITIONAL, I don't know if this is really needed.
27 AM_CONDITIONAL(PARALLEL,[test "x$WITH_MPI" != "xno"])
28 AM_CONDITIONAL(ENABLE_FORTRAN,[test "x$ENABLE_FORTRAN" != "xno"])
29 FATHOM_CHECK_COMPILERS([yes],[yes],[$ENABLE_FORTRAN])
Hope that you will check if what I've done is correct and maybe incorporate this changes.
Thanks for help.
Lorenzo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.ac
Type: application/octet-stream
Size: 48778 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20130603/2b32c7ac/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compiler.m4
Type: application/octet-stream
Size: 21530 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20130603/2b32c7ac/attachment-0003.obj>
-------------- next part --------------
On Jun 3, 2013, at 4:16 PM, Tim Tautges <tautges at mcs.anl.gov> wrote:
> Please also *always* send the config.log, that helps figure out what failed (it also contains the configure options used). Thanks.
>
> - tim
>
> On 06/01/2013 09:38 AM, Lorenzo Alessio Botti wrote:
>> Dear all,
>> it seems that the --disable-fortran flag is not working anymore
>>
>> digihabia:moab-4.6.0 ihabia$ ./configure --disable-fortran --disable-imesh --with-mpi=/Users/ihabia/src2/mpich2-1.5/mpich2/ --with-hdf5=/Users/ihabia/src2/hdf5-1.8.10/hdf5/
>> 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... no
>> checking for mawk... no
>> checking for nawk... no
>> checking for awk... awk
>> checking whether make sets $(MAKE)... yes
>> checking for sed... sed
>> checking for style of include used by make... GNU
>> configure: error: Cannot find MPI compiler. Try specifying $FC
>>
>> Any suggestion?
>> I'd like to avoid fortran on OSX.
>> I have configured mpich with as follows
>> ./configure --disable-fc --disable-f77 --prefix=/Users/ihabia/src2/mpich2-1.5/mpich2/
>>
>> One more question, which version of HDF5 is suggested to use with moab 4.6.0?
>>
>> Thanks for help.
>> Lorenzo
>>
>
> --
> ================================================================
> "You will keep in perfect peace him whose mind is
> steadfast, because he trusts in you." Isaiah 26:3
>
> Tim Tautges Argonne National Laboratory
> (tautges at mcs.anl.gov) (telecommuting from UW-Madison)
> phone (gvoice): (608) 354-1459 1500 Engineering Dr.
> fax: (608) 263-4499 Madison, WI 53706
>
More information about the moab-dev
mailing list