Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 415
    • Issues 415
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #434
Closed
Open
Issue created Mar 20, 2017 by Admin@OpenFOAM-adminMaintainer

Fails to build scotch with Intel MPI and Intel Compiler

The Makefile in ThirdParty sets CC to "icc" for scotch but "mpicc" is still called for MPI builds. Intel MPI can use either compiler and has wrappers specifically for Intel Compiler, e.g. mpiicc. The current build script fails on "CentOS Linux release 7.3.1611 (Core)" with the following link errors:

...
mpicc -m64 -fPIC -O3 -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -Drestrict=__restrict -DINTSIZE64 -I../../include -I../libscotch dgtst.c -o dgtst -L../../lib -lptscotch -lscotch -lptscotcherrexit -Xlinker --no-as-needed -m64 -lz -lm -lrt../../lib/libscotch.so: undefined reference to `__intel_sse2_strcpy'
../../lib/libscotch.so: undefined reference to `_intel_fast_memset'
../../lib/libscotch.so: undefined reference to `_intel_fast_memcpy'
../../lib/libscotch.so: undefined reference to `__intel_sse2_strlen'
../../lib/libscotch.so: undefined reference to `_intel_fast_memmove'
../../lib/libscotch.so: undefined reference to `__intel_sse2_strchr'
../../lib/libscotch.so: undefined reference to `__intel_sse2_strncmp'
Assignee
Assign to
Time tracking