[petsc-users] [petsc-maint #103068] problems compiling

Matthew Knepley petsc-maint at mcs.anl.gov
Fri Jan 20 09:45:41 CST 2012


On Fri, Jan 20, 2012 at 9:43 AM, Dominik Szczerba <dominik at itis.ethz.ch>wrote:

> I am building on a Cray system with crayftn fortran compiler. I
> specify --with-fc=crayftn and --FFLAGS=-em. Despite the latter, I am
> still getting the below cited error. Interestingly, the mod file IS
> THERE:
>
> > find /tmp/petsc-0Bnd1w -iname \*.mod
> /tmp/petsc-0Bnd1w/config.compilers/CONFIGTEST.mod
>
> How do I go on from here?
>

The problem is not that is doesn't create a module file, but that it will
not put it
where we ask it to. Please send entire configure.log (don't Cc users).

   Matt


> Thanks
> Dominik
>
>
>
>
> ================================================================================
> TEST checkFortranModuleInclude from
>
> config.compilers(/users/dsz/pack/petsc-3.2-p5/config/BuildSystem/config/compilers.py:1155)
> TESTING: checkFortranModuleInclude from
> config.compilers(config/BuildSystem/config/compilers.py:1155)
>  Figures out what flag is used to specify the include path for Fortran
> modules
>        Pushing language FC
> sh: crayftn -c -o /tmp/petsc-0Bnd1w/config.compilers/conftest.o
> -I/tmp/petsc-0Bnd1w/config.compilers
> -I/tmp/petsc-0Bnd1w/config.setCompilers -em -O3
> /tmp/petsc-0Bnd1w/config.compilers/conftest.F
> Executing: crayftn -c -o /tmp/petsc-0Bnd1w/config.compilers/conftest.o
> -I/tmp/petsc-0Bnd1w/config.compilers
> -I/tmp/petsc-0Bnd1w/config.setCompilers -em -O3
> /tmp/petsc-0Bnd1w/config.compilers/conftest.F
> sh:
> Successful compile:
> Source:
>      module configtest
>      integer testint
>      parameter (testint = 42)
>      end module configtest
>
> *******************************************************************************
>         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log
> for details):
>
> -------------------------------------------------------------------------------
> Fortran module was not created during the compile.
> configtest.mod/CONFIGTEST.mod not found
>
> *******************************************************************************
>  File "/users/dsz/pack/petsc-3.2-p5/config/configure.py", line 283,
> in petsc_configure
>    framework.configure(out = sys.stdout)
>  File
> "/users/dsz/pack/petsc-3.2-p5/config/BuildSystem/config/framework.py",
> line 925, in configure
>    child.configure()
>  File
> "/users/dsz/pack/petsc-3.2-p5/config/BuildSystem/config/compilers.py",
> line 1338, in configure
>    self.executeTest(self.checkFortranModuleInclude)
>  File "/users/dsz/pack/petsc-3.2-p5/config/BuildSystem/config/base.py",
> line 115, in executeTest
>    ret = apply(test, args,kargs)
>  File
> "/users/dsz/pack/petsc-3.2-p5/config/BuildSystem/config/compilers.py",
> line 1187, in checkFortranModuleInclude
>    raise RuntimeError('Fortran module was not created during the
> compile. configtest.mod/CONFIGTEST.mod not found')
>
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120120/abe05def/attachment.htm>


More information about the petsc-users mailing list