Compiling Error in CentOS by OpenSeesMP makefile
Posted: Wed May 07, 2014 8:57 pm
commands.cpp:37:17: error: mpi.h: No such file or directory
In file included from commands.cpp:241:
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSOE.h:44:22: error: petscksp.h: No such file or directory
/home/zql/OpenSees/SRC/modelbuilder/tcl/TclModelBuilder.cpp: In function ‘int TclCommand_addSP(void*, Tcl_Interp*, int, const char**)’:
/home/zql/OpenSees/SRC/modelbuilder/tcl/TclModelBuilder.cpp warning: unused variable ‘thePattern’
/home/zql/OpenSees/SRC/modelbuilder/tcl/TclModelBuilder.cpp: In function ‘int TclCommand_addImposedMotionSP(void*, Tcl_Interp*, int, const char**)’:
/home/zql/OpenSees/SRC/modelbuilder/tcl/TclModelBuilder.cpp warning: unused variable ‘ndf’
/home/zql/OpenSees/SRC/modelbuilder/tcl/TclModelBuilder.cpp: In function ‘int TclCommand_Package(void*, Tcl_Interp*, int, const char**)’:
/home/zql/OpenSees/SRC/modelbuilder/tcl/TclModelBuilder.cpp warning: dereferencing type-punned pointer will break strict-aliasing rules
/home/zql/OpenSees/SRC/modelbuilder/tcl/TclModelBuilder.cpp warning: dereferencing type-punned pointer will break strict-aliasing rules
/home/zql/OpenSees/SRC/modelbuilder/tcl/TclModelBuilder.cpp warning: unused variable ‘result’
/home/zql/OpenSees/SRC/modelbuilder/tcl/TclModelBuilder.cpp warning: unused variable ‘funcName’
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSOE.h: At global scope:
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSOE.h:96: error: ‘Mat’ does not name a type
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSOE.h:97: error: ‘Vec’ does not name a type
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSOE.h:99: error: ‘PetscTruth’ does not name a type
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSolver.h:51: error: expected `)' before ‘method’
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSolver.h:52: error: expected `)' before ‘method’
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSolver.h:70: error: ‘KSP’ does not name a type
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSolver.h:71: error: ‘PC’ does not name a type
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSolver.h:73: error: ‘KSPType’ does not name a type
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSolver.h:74: error: ‘PCType’ does not name a type
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.h:47: error: expected `)' before ‘method’
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.h:48: error: expected `)' before ‘method’
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.h:64: error: ‘KSP’ does not name a type
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.h:65: error: ‘PC’ does not name a type
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.h:67: error: ‘KSPType’ does not name a type
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.h:68: error: ‘PCType’ does not name a type
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.h:74: error: ‘Mat’ does not name a type
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.h:75: error: ‘Vec’ does not name a type
commands.cpp: In function ‘int specifySOE(void*, Tcl_Interp*, int, const char**)’:
commands.cpp warning: unused variable ‘permSpec’
commands.cpp warning: unused variable ‘panelSize’
commands.cpp warning: unused variable ‘relax’
commands.cpp error: ‘KSPType’ was not declared in this scope
commands.cpp error: expected `;' before ‘method’
commands.cpp error: ‘PCType’ was not declared in this scope
commands.cpp error: expected `;' before ‘preconditioner’
commands.cpp error: ‘method’ was not declared in this scope
commands.cpp error: ‘KSPCG’ was not declared in this scope
commands.cpp error: ‘method’ was not declared in this scope
commands.cpp error: ‘KSPBICG’ was not declared in this scope
commands.cpp error: ‘method’ was not declared in this scope
commands.cpp error: ‘KSPRICHARDSON’ was not declared in this scope
commands.cpp error: ‘method’ was not declared in this scope
commands.cpp error: ‘KSPCHEBYCHEV’ was not declared in this scope
commands.cpp error: ‘method’ was not declared in this scope
commands.cpp error: ‘KSPGMRES’ was not declared in this scope
commands.cpp error: ‘preconditioner’ was not declared in this scope
commands.cpp error: ‘PCJACOBI’ was not declared in this scope
commands.cpp error: ‘preconditioner’ was not declared in this scope
commands.cpp error: ‘PCILU’ was not declared in this scope
commands.cpp error: ‘preconditioner’ was not declared in this scope
commands.cpp error: ‘PCICC’ was not declared in this scope
commands.cpp error: ‘preconditioner’ was not declared in this scope
commands.cpp error: ‘PCBJACOBI’ was not declared in this scope
commands.cpp error: ‘preconditioner’ was not declared in this scope
commands.cpp error: ‘PCNONE’ was not declared in this scope
commands.cpp error: ‘method’ was not declared in this scope
commands.cpp error: ‘preconditioner’ was not declared in this scope
commands.cpp error: ‘method’ was not declared in this scope
commands.cpp error: ‘preconditioner’ was not declared in this scope
commands.cpp warning: dereferencing type-punned pointer will break strict-aliasing rules
commands.cpp warning: unused variable ‘result’
commands.cpp: In function ‘int specifyIntegrator(void*, Tcl_Interp*, int, const char**)’:
commands.cpp:5026: warning: dereferencing type-punned pointer will break strict-aliasing rules
commands.cpp:4998: warning: unused variable ‘result’
commands.cpp:5094: warning: dereferencing type-punned pointer will break strict-aliasing rules
commands.cpp: In function ‘int removeObject(void*, Tcl_Interp*, int, const char**)’:
commands.cpp:5760: warning: unused variable ‘nodTag’
commands.cpp: At global scope:
commands.cpp warning: ‘theExternalAlgorithmCommands’ defined but not used
make[2]: *** [commands.o] Error 1
make[2]: Leaving directory `/home/zql/OpenSees/SRC/tcl'
make[1]: *** [tcl] Error 2
make[1]: Leaving directory `/home/zql/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2
Hi,fmk:
i have a compiling error problem as shown above, please help me for solve that. thanks.
In file included from commands.cpp:241:
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSOE.h:44:22: error: petscksp.h: No such file or directory
/home/zql/OpenSees/SRC/modelbuilder/tcl/TclModelBuilder.cpp: In function ‘int TclCommand_addSP(void*, Tcl_Interp*, int, const char**)’:
/home/zql/OpenSees/SRC/modelbuilder/tcl/TclModelBuilder.cpp warning: unused variable ‘thePattern’
/home/zql/OpenSees/SRC/modelbuilder/tcl/TclModelBuilder.cpp: In function ‘int TclCommand_addImposedMotionSP(void*, Tcl_Interp*, int, const char**)’:
/home/zql/OpenSees/SRC/modelbuilder/tcl/TclModelBuilder.cpp warning: unused variable ‘ndf’
/home/zql/OpenSees/SRC/modelbuilder/tcl/TclModelBuilder.cpp: In function ‘int TclCommand_Package(void*, Tcl_Interp*, int, const char**)’:
/home/zql/OpenSees/SRC/modelbuilder/tcl/TclModelBuilder.cpp warning: dereferencing type-punned pointer will break strict-aliasing rules
/home/zql/OpenSees/SRC/modelbuilder/tcl/TclModelBuilder.cpp warning: dereferencing type-punned pointer will break strict-aliasing rules
/home/zql/OpenSees/SRC/modelbuilder/tcl/TclModelBuilder.cpp warning: unused variable ‘result’
/home/zql/OpenSees/SRC/modelbuilder/tcl/TclModelBuilder.cpp warning: unused variable ‘funcName’
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSOE.h: At global scope:
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSOE.h:96: error: ‘Mat’ does not name a type
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSOE.h:97: error: ‘Vec’ does not name a type
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSOE.h:99: error: ‘PetscTruth’ does not name a type
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSolver.h:51: error: expected `)' before ‘method’
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSolver.h:52: error: expected `)' before ‘method’
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSolver.h:70: error: ‘KSP’ does not name a type
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSolver.h:71: error: ‘PC’ does not name a type
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSolver.h:73: error: ‘KSPType’ does not name a type
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSolver.h:74: error: ‘PCType’ does not name a type
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.h:47: error: expected `)' before ‘method’
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.h:48: error: expected `)' before ‘method’
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.h:64: error: ‘KSP’ does not name a type
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.h:65: error: ‘PC’ does not name a type
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.h:67: error: ‘KSPType’ does not name a type
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.h:68: error: ‘PCType’ does not name a type
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.h:74: error: ‘Mat’ does not name a type
/home/zql/OpenSees/SRC/system_of_eqn/linearSOE/petsc/PetscSparseSeqSolver.h:75: error: ‘Vec’ does not name a type
commands.cpp: In function ‘int specifySOE(void*, Tcl_Interp*, int, const char**)’:
commands.cpp warning: unused variable ‘permSpec’
commands.cpp warning: unused variable ‘panelSize’
commands.cpp warning: unused variable ‘relax’
commands.cpp error: ‘KSPType’ was not declared in this scope
commands.cpp error: expected `;' before ‘method’
commands.cpp error: ‘PCType’ was not declared in this scope
commands.cpp error: expected `;' before ‘preconditioner’
commands.cpp error: ‘method’ was not declared in this scope
commands.cpp error: ‘KSPCG’ was not declared in this scope
commands.cpp error: ‘method’ was not declared in this scope
commands.cpp error: ‘KSPBICG’ was not declared in this scope
commands.cpp error: ‘method’ was not declared in this scope
commands.cpp error: ‘KSPRICHARDSON’ was not declared in this scope
commands.cpp error: ‘method’ was not declared in this scope
commands.cpp error: ‘KSPCHEBYCHEV’ was not declared in this scope
commands.cpp error: ‘method’ was not declared in this scope
commands.cpp error: ‘KSPGMRES’ was not declared in this scope
commands.cpp error: ‘preconditioner’ was not declared in this scope
commands.cpp error: ‘PCJACOBI’ was not declared in this scope
commands.cpp error: ‘preconditioner’ was not declared in this scope
commands.cpp error: ‘PCILU’ was not declared in this scope
commands.cpp error: ‘preconditioner’ was not declared in this scope
commands.cpp error: ‘PCICC’ was not declared in this scope
commands.cpp error: ‘preconditioner’ was not declared in this scope
commands.cpp error: ‘PCBJACOBI’ was not declared in this scope
commands.cpp error: ‘preconditioner’ was not declared in this scope
commands.cpp error: ‘PCNONE’ was not declared in this scope
commands.cpp error: ‘method’ was not declared in this scope
commands.cpp error: ‘preconditioner’ was not declared in this scope
commands.cpp error: ‘method’ was not declared in this scope
commands.cpp error: ‘preconditioner’ was not declared in this scope
commands.cpp warning: dereferencing type-punned pointer will break strict-aliasing rules
commands.cpp warning: unused variable ‘result’
commands.cpp: In function ‘int specifyIntegrator(void*, Tcl_Interp*, int, const char**)’:
commands.cpp:5026: warning: dereferencing type-punned pointer will break strict-aliasing rules
commands.cpp:4998: warning: unused variable ‘result’
commands.cpp:5094: warning: dereferencing type-punned pointer will break strict-aliasing rules
commands.cpp: In function ‘int removeObject(void*, Tcl_Interp*, int, const char**)’:
commands.cpp:5760: warning: unused variable ‘nodTag’
commands.cpp: At global scope:
commands.cpp warning: ‘theExternalAlgorithmCommands’ defined but not used
make[2]: *** [commands.o] Error 1
make[2]: Leaving directory `/home/zql/OpenSees/SRC/tcl'
make[1]: *** [tcl] Error 2
make[1]: Leaving directory `/home/zql/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2
Hi,fmk:
i have a compiling error problem as shown above, please help me for solve that. thanks.