Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
csg-eb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
exa
csg-eb
Wiki
Building MFIX with CSG EB on Spock
Changes
Page history
New page
Templates
Clone repository
Update Building MFIX with CSG EB on Spock
authored
3 years ago
by
Mark Meredith
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Building-MFIX-with-CSG-EB-on-Spock.md
+19
-5
19 additions, 5 deletions
Building-MFIX-with-CSG-EB-on-Spock.md
with
19 additions
and
5 deletions
Building-MFIX-with-CSG-EB-on-Spock.md
View page @
3891cf6f
Spock compiler may required building MFIX and CSG-EB Conan package with different compilers.
# Background
# Check conan packages [optional]
The Cray compiler on Spock is based on Clang and uses the
`hipcc`
compiler wrapper.
# Problem
Building MFIX on Spock with the Cray compiler and CSG-EB support enabled has problems, because:
-
Building with the compiler
`CXX=hipcc`
fails to build.
-
Building with the compiler
`CXX=$ROCM_PATH/llvm/bin/clang`
builds successfully, but the resulting executable crashes.
# Procedure
The following steps are intended to work around these difficulties.
## Check conan packages [optional]
You can check which Conan packages are installed with the command, which looks something like:
...
...
@@ -29,13 +43,13 @@ zlib/1.2.11
first to see which conan packages are already built (and cached) on your system
# Build Conan CSG-EB package
#
# Build Conan CSG-EB package
```
cd subprojects/csg-eb
env CC=$ROCM_PATH/llvm/bin/clang CXX=$ROCM_PATH/llvm/bin/clang++ conan create .
```
# Check conan packages [optional]
#
# Check conan packages [optional]
You can check which Conan packages are installed with the command, which looks something like:
...
...
@@ -63,7 +77,7 @@ zlib/1.2.11
```
# Build MFIX
#
# Build MFIX
```
❯ mkdir builddir; cd builddir
...
...
This diff is collapsed.
Click to expand it.