CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[cfMesh] cfMesh installation errors on supercomputer

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By franjo_j
  • 2 Post By ripudaman

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 1, 2015, 17:59
Default cfMesh installation errors on supercomputer
  #1
Member
 
Ripudaman Manchanda
Join Date: May 2013
Posts: 55
Rep Power: 12
ripudaman is on a distinguished road
Here is the error log I get when compiling the cfMesh libraries in foam-extend-3.2 on Stampede supercomputer on TACC.

Almost everything else is compiling fine.

Code:
+ wmake libso cfMesh
SOURCE=utilities/meshes/polyMeshGenAddressing/polyMeshGenAddressingCellCells.C ;  mpicxx -DIntel -Dlinux64 -DWM_DP -wd327,584,654,819,1125,1476,1505,1572 -ansi-alias -O3 -fno-alias -fp-model precise -fargument-noalias-global -unroll0  -DNoRepository -DUSE_OMP -fopenmp -I/work/02701/ripu/foam/foam-extend-3.2/src/edgeMesh/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/meshTools/lnInclude -IlnInclude -I. -I/work/02701/ripu/foam/foam-extend-3.2/src/foam/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64IccDPOpt/polyMeshGenAddressingCellCells.o
SOURCE=utilities/meshes/polyMeshGenModifier/polyMeshGenModifierReorderBoundaryFaces.C ;  mpicxx -DIntel -Dlinux64 -DWM_DP -wd327,584,654,819,1125,1476,1505,1572 -ansi-alias -O3 -fno-alias -fp-model precise -fargument-noalias-global -unroll0  -DNoRepository -DUSE_OMP -fopenmp -I/work/02701/ripu/foam/foam-extend-3.2/src/edgeMesh/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/meshTools/lnInclude -IlnInclude -I. -I/work/02701/ripu/foam/foam-extend-3.2/src/foam/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64IccDPOpt/polyMeshGenModifierReorderBoundaryFaces.o
SOURCE=utilities/meshes/polyMeshGenAddressing/polyMeshGenAddressingCellEdges.C ;  mpicxx -DIntel -Dlinux64 -DWM_DP -wd327,584,654,819,1125,1476,1505,1572 -ansi-alias -O3 -fno-alias -fp-model precise -fargument-noalias-global -unroll0  -DNoRepository -DUSE_OMP -fopenmp -I/work/02701/ripu/foam/foam-extend-3.2/src/edgeMesh/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/meshTools/lnInclude -IlnInclude -I. -I/work/02701/ripu/foam/foam-extend-3.2/src/foam/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64IccDPOpt/polyMeshGenAddressingCellEdges.o
SOURCE=utilities/meshes/polyMeshGenAddressing/polyMeshGenAddressingCellPoints.C ;  mpicxx -DIntel -Dlinux64 -DWM_DP -wd327,584,654,819,1125,1476,1505,1572 -ansi-alias -O3 -fno-alias -fp-model precise -fargument-noalias-global -unroll0  -DNoRepository -DUSE_OMP -fopenmp -I/work/02701/ripu/foam/foam-extend-3.2/src/edgeMesh/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/meshTools/lnInclude -IlnInclude -I. -I/work/02701/ripu/foam/foam-extend-3.2/src/foam/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64IccDPOpt/polyMeshGenAddressingCellPoints.o
SOURCE=utilities/meshes/polyMeshGenAddressing/polyMeshGenAddressingEdgeFaces.C ;  mpicxx -DIntel -Dlinux64 -DWM_DP -wd327,584,654,819,1125,1476,1505,1572 -ansi-alias -O3 -fno-alias -fp-model precise -fargument-noalias-global -unroll0  -DNoRepository -DUSE_OMP -fopenmp -I/work/02701/ripu/foam/foam-extend-3.2/src/edgeMesh/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/meshTools/lnInclude -IlnInclude -I. -I/work/02701/ripu/foam/foam-extend-3.2/src/foam/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64IccDPOpt/polyMeshGenAddressingEdgeFaces.o
SOURCE=utilities/meshes/polyMeshGenAddressing/polyMeshGenAddressingFaceEdges.C ;  mpicxx -DIntel -Dlinux64 -DWM_DP -wd327,584,654,819,1125,1476,1505,1572 -ansi-alias -O3 -fno-alias -fp-model precise -fargument-noalias-global -unroll0  -DNoRepository -DUSE_OMP -fopenmp -I/work/02701/ripu/foam/foam-extend-3.2/src/edgeMesh/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/meshTools/lnInclude -IlnInclude -I. -I/work/02701/ripu/foam/foam-extend-3.2/src/foam/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64IccDPOpt/polyMeshGenAddressingFaceEdges.o
SOURCE=utilities/meshes/polyMeshGenAddressing/polyMeshGenAddressingPointPoints.C ;  mpicxx -DIntel -Dlinux64 -DWM_DP -wd327,584,654,819,1125,1476,1505,1572 -ansi-alias -O3 -fno-alias -fp-model precise -fargument-noalias-global -unroll0  -DNoRepository -DUSE_OMP -fopenmp -I/work/02701/ripu/foam/foam-extend-3.2/src/edgeMesh/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/meshTools/lnInclude -IlnInclude -I. -I/work/02701/ripu/foam/foam-extend-3.2/src/foam/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64IccDPOpt/polyMeshGenAddressingPointPoints.o
SOURCE=utilities/meshes/polyMeshGenChecks/polyMeshGenChecks.C ;  mpicxx -DIntel -Dlinux64 -DWM_DP -wd327,584,654,819,1125,1476,1505,1572 -ansi-alias -O3 -fno-alias -fp-model precise -fargument-noalias-global -unroll0  -DNoRepository -DUSE_OMP -fopenmp -I/work/02701/ripu/foam/foam-extend-3.2/src/edgeMesh/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/meshTools/lnInclude -IlnInclude -I. -I/work/02701/ripu/foam/foam-extend-3.2/src/foam/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64IccDPOpt/polyMeshGenChecks.o
SOURCE=utilities/meshes/polyMeshGenChecks/polyMeshGenChecksGeometry.C ;  mpicxx -DIntel -Dlinux64 -DWM_DP -wd327,584,654,819,1125,1476,1505,1572 -ansi-alias -O3 -fno-alias -fp-model precise -fargument-noalias-global -unroll0  -DNoRepository -DUSE_OMP -fopenmp -I/work/02701/ripu/foam/foam-extend-3.2/src/edgeMesh/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/meshTools/lnInclude -IlnInclude -I. -I/work/02701/ripu/foam/foam-extend-3.2/src/foam/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64IccDPOpt/polyMeshGenChecksGeometry.o
SOURCE=utilities/meshes/polyMeshGenChecks/polyMeshGenChecksTopology.C ;  mpicxx -DIntel -Dlinux64 -DWM_DP -wd327,584,654,819,1125,1476,1505,1572 -ansi-alias -O3 -fno-alias -fp-model precise -fargument-noalias-global -unroll0  -DNoRepository -DUSE_OMP -fopenmp -I/work/02701/ripu/foam/foam-extend-3.2/src/edgeMesh/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/meshTools/lnInclude -IlnInclude -I. -I/work/02701/ripu/foam/foam-extend-3.2/src/foam/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64IccDPOpt/polyMeshGenChecksTopology.o
SOURCE=utilities/meshes/partTetMesh/partTetMesh.C ;  mpicxx -DIntel -Dlinux64 -DWM_DP -wd327,584,654,819,1125,1476,1505,1572 -ansi-alias -O3 -fno-alias -fp-model precise -fargument-noalias-global -unroll0  -DNoRepository -DUSE_OMP -fopenmp -I/work/02701/ripu/foam/foam-extend-3.2/src/edgeMesh/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/meshTools/lnInclude -IlnInclude -I. -I/work/02701/ripu/foam/foam-extend-3.2/src/foam/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64IccDPOpt/partTetMesh.o
SOURCE=utilities/meshes/partTetMesh/partTetMeshAddressing.C ;  mpicxx -DIntel -Dlinux64 -DWM_DP -wd327,584,654,819,1125,1476,1505,1572 -ansi-alias -O3 -fno-alias -fp-model precise -fargument-noalias-global -unroll0  -DNoRepository -DUSE_OMP -fopenmp -I/work/02701/ripu/foam/foam-extend-3.2/src/edgeMesh/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/meshTools/lnInclude -IlnInclude -I. -I/work/02701/ripu/foam/foam-extend-3.2/src/foam/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64IccDPOpt/partTetMeshAddressing.o
SOURCE=utilities/meshes/partTetMesh/partTetMeshParallelAddressing.C ;  mpicxx -DIntel -Dlinux64 -DWM_DP -wd327,584,654,819,1125,1476,1505,1572 -ansi-alias -O3 -fno-alias -fp-model precise -fargument-noalias-global -unroll0  -DNoRepository -DUSE_OMP -fopenmp -I/work/02701/ripu/foam/foam-extend-3.2/src/edgeMesh/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/meshTools/lnInclude -IlnInclude -I. -I/work/02701/ripu/foam/foam-extend-3.2/src/foam/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64IccDPOpt/partTetMeshParallelAddressing.o
SOURCE=utilities/meshes/partTetMesh/partTetMeshSimplex.C ;  mpicxx -DIntel -Dlinux64 -DWM_DP -wd327,584,654,819,1125,1476,1505,1572 -ansi-alias -O3 -fno-alias -fp-model precise -fargument-noalias-global -unroll0  -DNoRepository -DUSE_OMP -fopenmp -I/work/02701/ripu/foam/foam-extend-3.2/src/edgeMesh/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/meshTools/lnInclude -IlnInclude -I. -I/work/02701/ripu/foam/foam-extend-3.2/src/foam/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64IccDPOpt/partTetMeshSimplex.o
SOURCE=utilities/meshes/partTriMesh/partTriMesh.C ;  mpicxx -DIntel -Dlinux64 -DWM_DP -wd327,584,654,819,1125,1476,1505,1572 -ansi-alias -O3 -fno-alias -fp-model precise -fargument-noalias-global -unroll0  -DNoRepository -DUSE_OMP -fopenmp -I/work/02701/ripu/foam/foam-extend-3.2/src/edgeMesh/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/meshTools/lnInclude -IlnInclude -I. -I/work/02701/ripu/foam/foam-extend-3.2/src/foam/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64IccDPOpt/partTriMesh.o
SOURCE=utilities/meshes/partTriMesh/partTriMeshAddressing.C ;  mpicxx -DIntel -Dlinux64 -DWM_DP -wd327,584,654,819,1125,1476,1505,1572 -ansi-alias -O3 -fno-alias -fp-model precise -fargument-noalias-global -unroll0  -DNoRepository -DUSE_OMP -fopenmp -I/work/02701/ripu/foam/foam-extend-3.2/src/edgeMesh/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/meshTools/lnInclude -IlnInclude -I. -I/work/02701/ripu/foam/foam-extend-3.2/src/foam/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64IccDPOpt/partTriMeshAddressing.o
SOURCE=utilities/meshes/partTriMesh/partTriMeshParallelAddressing.C ;  mpicxx -DIntel -Dlinux64 -DWM_DP -wd327,584,654,819,1125,1476,1505,1572 -ansi-alias -O3 -fno-alias -fp-model precise -fargument-noalias-global -unroll0  -DNoRepository -DUSE_OMP -fopenmp -I/work/02701/ripu/foam/foam-extend-3.2/src/edgeMesh/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/meshTools/lnInclude -IlnInclude -I. -I/work/02701/ripu/foam/foam-extend-3.2/src/foam/lnInclude -I/work/02701/ripu/foam/foam-extend-3.2/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64IccDPOpt/partTriMeshParallelAddressing.o
utilities/meshes/polyMeshGenModifier/polyMeshGenModifierReorderBoundaryFaces.C(224): internal error: null pointer
  }
  ^

compilation aborted for utilities/meshes/polyMeshGenModifier/polyMeshGenModifierReorderBoundaryFaces.C (code 4)
make: *** [Make/linux64IccDPOpt/polyMeshGenModifierReorderBoundaryFaces.o] Error 4
make: *** Waiting for unfinished jobs....
utilities/meshes/polyMeshGenAddressing/polyMeshGenAddressingCellPoints.C(118): internal error: null pointer
  }
  ^

compilation aborted for utilities/meshes/polyMeshGenAddressing/polyMeshGenAddressingCellPoints.C (code 4)
make: *** [Make/linux64IccDPOpt/polyMeshGenAddressingCellPoints.o] Error 4
utilities/meshes/polyMeshGenAddressing/polyMeshGenAddressingCellEdges.C(123): internal error: null pointer
  }
  ^

utilities/meshes/polyMeshGenAddressing/polyMeshGenAddressingFaceEdges.C(108): internal error: null pointer
  }
  ^

utilities/meshes/polyMeshGenAddressing/polyMeshGenAddressingPointPoints.C(120): internal error: null pointer
  }
  ^

utilities/meshes/polyMeshGenAddressing/polyMeshGenAddressingCellCells.C(130): internal error: null pointer
  }
  ^

compilation aborted for utilities/meshes/polyMeshGenAddressing/polyMeshGenAddressingCellEdges.C (code 4)
utilities/meshes/polyMeshGenAddressing/polyMeshGenAddressingEdgeFaces.C(132): internal error: null pointer
  }
  ^

make: *** [Make/linux64IccDPOpt/polyMeshGenAddressingCellEdges.o] Error 4
compilation aborted for utilities/meshes/polyMeshGenAddressing/polyMeshGenAddressingFaceEdges.C (code 4)
compilation aborted for utilities/meshes/polyMeshGenAddressing/polyMeshGenAddressingPointPoints.C (code 4)
compilation aborted for utilities/meshes/polyMeshGenAddressing/polyMeshGenAddressingCellCells.C (code 4)
make: *** [Make/linux64IccDPOpt/polyMeshGenAddressingFaceEdges.o] Error 4
make: *** [Make/linux64IccDPOpt/polyMeshGenAddressingPointPoints.o] Error 4
make: *** [Make/linux64IccDPOpt/polyMeshGenAddressingCellCells.o] Error 4
compilation aborted for utilities/meshes/polyMeshGenAddressing/polyMeshGenAddressingEdgeFaces.C (code 4)
make: *** [Make/linux64IccDPOpt/polyMeshGenAddressingEdgeFaces.o] Error 4

Any Suggestions?

Ripu
ripudaman is offline   Reply With Quote

Old   December 2, 2015, 15:26
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick question: Which Intel Compiler version are you using? A few examples for finding it out:
Code:
mpicxx --version
icc --version
icpc --version

Last edited by wyldckat; December 2, 2015 at 15:26. Reason: rephrased question
wyldckat is offline   Reply With Quote

Old   December 2, 2015, 15:49
Default I think Intel compiler 15.0.2
  #3
Member
 
Ripudaman Manchanda
Join Date: May 2013
Posts: 55
Rep Power: 12
ripudaman is on a distinguished road
Here is the output I get when I check the version.

login1.stampede(1)$ mpicxx --version
icpc (ICC) 15.0.2 20150121
Copyright (C) 1985-2015 Intel Corporation. All rights reserved.

login1.stampede(2)$ icc --version
icc (ICC) 15.0.2 20150121
Copyright (C) 1985-2015 Intel Corporation. All rights reserved.

login1.stampede(3)$ icpc --version
icpc (ICC) 15.0.2 20150121
Copyright (C) 1985-2015 Intel Corporation. All rights reserved.

Ripu
ripudaman is offline   Reply With Quote

Old   December 2, 2015, 15:55
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer: OK, then it's one of the recent versions of ICC. Intel provides a non-commercial license to open source contributors and I can have a look into this issue in the coming weekend: https://software.intel.com/en-us/qua...rcecontributor

If anyone wants to check this and solve this before I try to, please do feel free to do so!

In the meantime, one workaround would be to use GCC to build only this library.
wyldckat is offline   Reply With Quote

Old   December 3, 2015, 11:41
Default
  #5
Member
 
Ripudaman Manchanda
Join Date: May 2013
Posts: 55
Rep Power: 12
ripudaman is on a distinguished road
That sounds great Bruno. Thanks for looking into this.

Ripu
ripudaman is offline   Reply With Quote

Old   December 4, 2015, 04:28
Default
  #6
Senior Member
 
Franjo Juretic
Join Date: Aug 2011
Location: Velika Gorica, Croatia
Posts: 124
Rep Power: 16
franjo_j is on a distinguished road
Send a message via Skype™ to franjo_j
Hi Ripu,

I do not use Intel compiler and I have not seen this error before.
Strangely, the reported errors are at the last line of a function. Can you please try compiling cfMesh without the -fopenmp flag because it may be the cause of the problem. It is not used by the Intel compiler and I am not sure how it gets defined on your machine, because the compiler should not define the __GNUC__ macro. In the cfMesh/Make/options you can find the following:

#if defined(__GNUC__)
# if defined(darwin)
OMP_FLAGS =
# else
OMP_FLAGS = -DUSE_OMP -fopenmp
# endif
#else
OMP_FLAGS =
#endif

Please replace this with:

#if defined(__GNUC__)
# if defined(darwin)
OMP_FLAGS =
# else
OMP_FLAGS = -DUSE_OMP -openmp // intel compiler uses -openmp
# endif
#else
OMP_FLAGS =
#endif

Intel compiler uses -openmp flag for openmp. If the above does not work, then try compiling without openmp by replacing the above with

OMP_FLAGS =

Please let me know if any of this solve the problem.

Regards,

Franjo
wyldckat likes this.
__________________
Principal Developer of cfMesh and CF-MESH+
www.cfmesh.com
Social media: LinkedIn, Twitter, YouTube, Facebook, Pinterest, Instagram
franjo_j is offline   Reply With Quote

Old   December 4, 2015, 15:11
Default Solved
  #7
Member
 
Ripudaman Manchanda
Join Date: May 2013
Posts: 55
Rep Power: 12
ripudaman is on a distinguished road
Franjo,

Changing the -fopenmp to -openmp did not solve the problem but putting
OMP_FLAGS = after the if else construct helps in compiling.

Thanks for helping with this. I am happy with this now.

Ripu
wyldckat and franjo_j like this.
ripudaman is offline   Reply With Quote

Reply

Tags
cfmesh, fe32, foam-extend.3.2


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
courant number increases to rather large values 6863523 OpenFOAM Running, Solving & CFD 22 July 5, 2023 23:48
Stuck in a Rut- interDyMFoam! xoitx OpenFOAM Running, Solving & CFD 14 March 25, 2016 07:09
Floating point exception error lpz_michele OpenFOAM Running, Solving & CFD 53 October 19, 2015 02:50
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07


All times are GMT -4. The time now is 15:17.