[MOAB-dev] Make check failure (5143)

Xiabing Xu xbxu at mcs.anl.gov
Thu Sep 1 13:30:58 CDT 2011


Yes, this is on fusion. 

By delving into the problem, I found that the code in iBase_f.h is looking for the user predefined macro PTRSIZE. If this macros is not found, then for different compilers, define the different size for IMESH_HANDLE_T. In the case for searching gfortran compiler, it  is looking for predefined macro __SIZEOF_SIZE_T__. However, this macro is not defined by gfortran compiler on fusion. 

The default mpi used on fusion is compiled with intel compiler, in this case a different code path is chosen, intel's fortran compiler is used. That explains why it works for Rajeev.

The __SIZEOF_SIZE_T__ is defined by gfortran compiler on mcs machines, I guess that's why the nightly tests are not complaining.

For greater portability, I think the assumption for the predefined macro  __SIZEOF_SIZE_T__ in gfortran compiler should be removed.

Xiabing

On Aug 31, 2011, at 5:08 PM, Rajeev Jain wrote:

> Is this problem on fusion?. It works for me, it seems like a complier issue. Look at my fusion config: /home/jain/moab
> I had an error: "error while loading shared libraries: libimf.so" which went away by: source ifortvars_intel64.csh
>  
> Rajeev
> 
> From: Xiabing Xu <xbxu at mcs.anl.gov>
> To: moab-dev at mcs.anl.gov
> Sent: Wednesday, August 31, 2011 3:28 PM
> Subject: [MOAB-dev] Make check failure (5143)
> 
> Error messages:
> 
> Making check in itaps
> make[2]: Entering directory `/fusion/gpfs/home/xbxu/parvis/moab-trunk-build/examples/itaps'
> make  FindConnectF TagIterateC TagIterateF
> make[3]: Entering directory `/fusion/gpfs/home/xbxu/parvis/moab-trunk-build/examples/itaps'
>   PPF77  FindConnectF.o
> In file included from ../../itaps/imesh/iMesh_f.h:5,
>                 from FindConnectF.F:11:
> ../../itaps/iBase_f.h:21: error: #error "Unknown compiler.  Please define PTRSIZE."
> make[3]: *** [FindConnectF.o] Error 1
> make[3]: Leaving directory `/fusion/gpfs/home/xbxu/parvis/moab-trunk-build/examples/itaps'
> make[2]: *** [check-am] Error 2
> make[2]: Leaving directory `/fusion/gpfs/home/xbxu/parvis/moab-trunk-build/examples/itaps'
> make[1]: *** [check-recursive] Error 1
> make[1]: Leaving directory `/fusion/gpfs/home/xbxu/parvis/moab-trunk-build/examples'
> make: *** [check-recursive] Error 1
> 
> 
> My configuration:
> 
> ./configure --prefix=/homes/xbxu/parvis/moab-trunk-build/install --with-mpi=/fusion/group/climate/software/mpi2/mpich2-1.4/install --with-pnetcdf=/fusion/group/climate/software/pnetcdf/parallel-netcdf-1.2.0/install --with-netcdf=/fusion/group/climate/software/netcdf/netcdf-4.1.2-parallel/install --with-hdf5=/fusion/group/climate/software/hdf5/hdf5-1.8.6-parallel/install --with-zlib=/fusion/group/climate/software/zlib/zlib-1.2.5/install --with-szip=/fusion/group/climate/software/szip/szip-2.1/install --enable-debug CC=/fusion/group/climate/software/mpi2/mpich2-1.4/install/bin/mpicc CXX=/fusion/group/climate/software/mpi2/mpich2-1.4/install/bin/mpicxx FC=/fusion/group/climate/software/mpi2/mpich2-1.4/install/bin/mpif90 F77=/fusion/group/climate/software/mpi2/mpich2-1.4/install/bin/mpif77
> 
> F77=gfortran
> 
> Thanks,
> 
> Xiabing
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20110901/d660c27f/attachment.htm>


More information about the moab-dev mailing list