[petsc-users] compile petsc with intel compiler

Satish Balay balay at mcs.anl.gov
Tue Jul 9 15:31:00 CDT 2013


For some reason this issue comes up with mpi.mod provided by intel
mpi.

We have a configure test for it - but looks like its not sufficient to
catch this issue.

satish


On Tue, 9 Jul 2013, Matthew Knepley wrote:

> On Tue, Jul 9, 2013 at 3:11 PM, Michael Povolotskyi <mpovolot at purdue.edu>wrote:
> 
> > Dear Petsc users and developers,
> > I'm trying to build petsc with Intel compiler.
> >
> 
> 1) First, ask yourself whether you really want to build with the Intel
> compiler. Then ask again.
> 
> 2) Do you need Fortran? If not, turn it off --with-fc=0.
> 
> 3) If you want Fortran and Intel (and have a hatred of free time), try the
> legacy build
> 
>    make all-legacy
> 
> 4) If this is still broken, send the new make.log
> 
>   Thanks,
> 
>     Matt
> 
> 
> > The configuration process runs okay (I attach the log here),
> > but I get an error when I build it:
> > -- Configuring done
> > -- Generating done
> > -- Build files have been written to: /home/mpovolot/Code_intel/**
> > libs/petsc/build-real/linux
> > Scanning dependencies of target petscsys
> > [  0%] [  0%] [  0%] Building CXX object CMakeFiles/petscsys.dir/src/**
> > sys/info/verboseinfo.c.o
> > Building Fortran object CMakeFiles/petscsys.dir/src/**
> > sys/f90-mod/petscsysmod.F.o
> > Building CXX object CMakeFiles/petscsys.dir/src/**
> > sys/totalview/tv_data_display.**c.o
> > Building CXX object CMakeFiles/petscsys.dir/src/**sys/python/pythonsys.c.o
> > Building CXX object CMakeFiles/petscsys.dir/src/**sys/logging/plog.c.o
> > /home/mpovolot/Code_intel/**libs/petsc/build-real/src/sys/**
> > f90-mod/petscsysmod.F:6.11:
> >
> >         use mpi
> >            1
> > Fatal Error: File 'mpi.mod' opened at (1) is not a GFORTRAN module file
> > make[6]: *** [CMakeFiles/petscsys.dir/src/**sys/f90-mod/petscsysmod.F.o]
> > Error 1
> > make[6]: *** Waiting for unfinished jobs....
> > make[5]: *** [CMakeFiles/petscsys.dir/all] Error 2
> > make[4]: *** [all] Error 2
> > make[3]: *** [ccmake] Error 2
> > make[2]: *** [cmake] Error 2
> > ****************************ERROR**************************************
> >   Error during compile, check linux/conf/make.log
> >   Send it and linux/conf/configure.log to petsc-maint at mcs.anl.gov
> > ************************************************************************
> >
> > I attach here the make.log
> > What is strange to me that it has something to do with Gfortran, while I
> > want to build everything with Intel.
> > Thank you for help,
> > Michael.
> >
> > --
> > Michael Povolotskyi, PhD
> > Research Assistant Professor
> > Network for Computational Nanotechnology
> > 207 S Martin Jischke Drive
> > Purdue University, DLR, room 441-10
> > West Lafayette, Indiana 47907
> >
> > phone: +1-765-494-9396
> > fax: +1-765-496-6026
> >
> >
> 
> 
> 



More information about the petsc-users mailing list