[petsc-users] mumps compile error

Barry Smith bsmith at mcs.anl.gov
Wed Aug 5 14:23:57 CDT 2015


   George,

   Try running with a completely empty directory for the --prefix (perhaps it is picking up some incorrect/outdated stuff there). 

    Also send us the configure.log file from running without a prefix (so we can see what the differences are).

   I ran a --prefix configure build with MUMPS just now and it was fine.

  Barry

> On Aug 5, 2015, at 1:35 PM, George Pau <gpau at lbl.gov> wrote:
> 
> Hi, 
> 
> I am now having issues with mumps.  Similar to my  configure options in my previous email:
> 
> --with-debugging=1 --with-shared-libraries=0 --prefix=/global/homes/g/gpau/clm-rom/install/t
> pls --with-cxx-dialect=C++11 --download-elemental --download-mumps --download-scalapack --do
> wnload-parmetis --download-metis --download-hdf5 --download-netcdf --with-x=0 --with-cc=/opt
> /cray/craype/2.3.1/bin/cc --with-cxx=/opt/cray/craype/2.3.1/bin/CC --with-fc=/opt/cray/crayp
> e/2.3.1/bin/ftn
> 
> I am having now having problem with mumps but I couldn't figure out what is wrong.  I have this problem on both NERSC/Edison (using Intel compiler) and on Ubuntu (using gcc compiler):
> 
> mumps_c.c(136): error: identifier "MUMPS_INT8" is undefined                                 
>              MUMPS_INT8     *keep8,                                                         
>              ^                                                                              
> 
> mumps_c.c(284): error: identifier "MUMPS_INT8" is undefined
>       MUMPS_INT8 *keep8;                                   
>       ^                                                    
> 
> mumps_c.c(284): error: identifier "keep8" is undefined
>       MUMPS_INT8 *keep8;
> 
> The error messages are longer and can be found in the attached log file.  
> 
> However, if I leave out the --prefix  option, then everything is fine. MUMPS will configure correctly. It seems like a linking issue.
> 
> 
> 
> -- 
> George Pau
> Earth Sciences Division
> Lawrence Berkeley National Laboratory
> One Cyclotron, MS 74-120
> Berkeley, CA 94720
> 
> (510) 486-7196
> gpau at lbl.gov
> http://esd.lbl.gov/about/staff/georgepau/
> <configure.log>



More information about the petsc-users mailing list