[petsc-dev] Fortran seems broken
Mark Adams
mfadams at lbl.gov
Fri Jan 23 13:27:32 CST 2015
It looks like it is missing include info as well as the modules.
09:46 2 edison01 core_dev ~/epsi/XGC1_3$ make -f Makefile.edison
ftn -g -openmp -no-ipo -DADIOS -DUSE_BICUB_MOD -DUSE_ONE_D_I_CUB_MOD
-I/global/homes/m/madams/petsc_private/arch-xe6-opt64-pgi/include
-I/global/homes/m/madams/petsc_private/include -DADIOS_WRITE_NEW
-DADIOS_NEW_INIT -DADIOS_READ_V2 -DADIOS_READ_NEW -DITER_GRID
-I/usr/common/usg/adios/1.6.0/intel/include -DCOL_MIRA_ION -DCOL_MIRA_ELEC
-DPSPLINE -I/usr/common/usg/pspline/nersc1.0/intel/mod -DCAM_TIMERS
-I../camtimers -I/opt/cray/mpt/6.0.1/gni/mpich2-pgi/121/include
-I/opt/cray/papi/5.1.2/perf_events/no-cuda/include
-I/opt/cray/udreg/2.3.2-1.0402.7546.1.5.gem/include
-I/opt/cray/ugni/5.0-1.0402.7551.1.10.gem/include
-I/opt/cray/pmi/4.0.1-1.0000.9753.86.3.gem/include
-I/opt/cray/dmapp/4.0.1-1.0402.7784.4.1.gem/include
-I/opt/cray/gni-headers/2.1-1.0402.7541.1.5.gem/include
-I/opt/cray/xpmem/0.1-2.0402.45248.1.5.gem/include
-I/opt/cray/rca/1.0.0-2.0402.47290.7.1.gem/include
-I/opt/cray-hss-devel/7.1.0/include
-I/opt/cray/krca/1.0.0-2.0402.46083.4.47.gem/include
-I/opt/cray/mpt/6.0.1/gni/sma/include
-I/opt/cray/libsci/12.1.01/pgi/121/mc12/include -I/usr/include/alps
-I/opt/cray/hdf5/1.8.11/pgi/121/include
-I/opt/pgi/13.6.0/linux86-64/13.6/include
-I/opt/cray/xe-sysroot/4.2.34/usr/include -c fem_ops.F90
fem_ops.F90(19): error #7002: Error in opening the compiled module file.
Check INCLUDE paths. [PETSCMAT]
use petscmat
------^
fem_ops.F90(112): error #7002: Error in opening the compiled module file.
Check INCLUDE paths. [PETSCMAT]
use petscmat
------^
fem_ops.F90(158): error #6404: This name does not have a type, and must
have an explicit type. [ADD_VALUES]
call
MatSetValues(Amat,ione,idi,ione,idj,arr(itmp,jtmp),ADD_VALUES,ierr)
-------------------------------------------------------------------------^
fem_ops.F90(159): error #6404: This name does not have a type, and must
have an explicit type. [PETSC_COMM_WORLD]
if (ierr .ne. 0) call MPI_Abort(PETSC_COMM_WORLD,ierr,ierr)
-------------------------------------------------^
fem_ops.F90(178): error #6404: This name does not have a type, and must
have an explicit type. [MAT_FINAL_ASSEMBLY]
call MatAssemblyBegin(Amat,MAT_FINAL_ASSEMBLY,ierr)
-----------------------------^
fem_ops.F90(307): error #7002: Error in opening the compiled module file.
Check INCLUDE paths. [PETSCKSP]
use petscksp
------^
fem_ops.F90(323): error #6404: This name does not have a type, and must
have an explicit type. [PETSC_NULL_CHARACTER]
call PetscInitialize(PETSC_NULL_CHARACTER,ierr)
-----------------------^
fem_ops.F90(324): error #6404: This name does not have a type, and must
have an explicit type. [PETSC_COMM_WORLD]
call MPI_Comm_size(PETSC_COMM_WORLD,npe,ierr)
---------------------^
fem_ops.F90(329): error #6404: This name does not have a type, and must
have an explicit type. [PETSC_DECIDE]
call MatSetSizes( Amat,PETSC_DECIDE, PETSC_DECIDE, nnodes, nnodes, ierr )
-------------------------^
fem_ops.F90(335): error #6404: This name does not have a type, and must
have an explicit type. [PETSC_NULL_INTEGER]
call MatSeqAIJSetPreallocation(Amat,9,PETSC_NULL_INTEGER,ierr)
----------------------------------------^
fem_ops.F90(344): error #6404: This name does not have a type, and must
have an explicit type. [SAME_NONZERO_PATTERN]
call KSPSetOperators(solver,Amat,Amat,SAME_NONZERO_PATTERN,ierr)
----------------------------------------^
On Fri, Jan 23, 2015 at 12:56 PM, Matthew Knepley <knepley at gmail.com> wrote:
> It wants the petscmat.mod module. Can you send the compile line?
>
> Matt
>
> On Fri, Jan 23, 2015 at 11:54 AM, Mark Adams <mfadams at lbl.gov> wrote:
>
>> This code has started failing. I've change finclude -->petsc-finclude
>>
>> #include <petsc-finclude/petscdef.h>
>> use petscmat
>>
>> I get:
>>
>> fem_ops.F90(19): error #7002: Error in opening the compiled module file.
>> Check INCLUDE paths. [PETSCMAT]
>> use petscmat
>>
>> I've clobbered the confugure.log but can regenerate it if need be.
>>
>> Thanks,
>> Mark
>>
>>
>
>
> --
> 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-dev/attachments/20150123/f5a66262/attachment.html>
More information about the petsc-dev
mailing list