Comments (9)
Hi @wyphan, sorry for the late reply. Do you still need help with this?
from laghos.
Yes, please, it will be used for Crusher at ORNL.
from laghos.
For a parallel HIP build of MFEM on Crusher, you can try using "MFEM_BUILD=phip HIP_ARCH=gfx90a"
.
from laghos.
@wyphan, did Veselin's suggestion help? Can we close this issue?
from laghos.
@vladotomov sorry for the late reply. When I tried to build, looks like the URL for METIS in the Makefile is dead?
from laghos.
@wyphan the link to METIS has been updated.
from laghos.
Thanks for the fix. METIS 4.0.3 builds fine with PrgEnv-amd
and amd/5.2.0
, but not with 5.3.0 or newer. For reference, the current default ROCm version on Crusher is 5.3.0. The error messages have to do with the GKfree
macro:
make[3]: Entering directory '/autofs/nccs-svm1_home1/wyphan/work/hpctoolkit-tutorial-examples/examples/gpu/laghos/laghos/metis-4.0.3/Lib'
make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
cc -O2 -I. -c coarsen.c
cc -O2 -I. -c fm.c
cc -O2 -I. -c initpart.c
initpart.c:199:3: error: call to undeclared function '__GKfree'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
GKfree(&bestwhere, &queue, &touched, LTERM);
^
./rename.h:380:19: note: expanded from macro 'GKfree'
#define GKfree __GKfree
^
initpart.c:337:3: error: call to undeclared function '__GKfree'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
GKfree(&bestwhere, &queue, &touched, LTERM);
^
./rename.h:380:19: note: expanded from macro 'GKfree'
#define GKfree __GKfree
^
initpart.c:417:3: error: call to undeclared function '__GKfree'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
GKfree(&bestwhere, &perm, LTERM);
^
./rename.h:380:19: note: expanded from macro 'GKfree'
#define GKfree __GKfree
^
3 errors generated.
make[3]: *** [Makefile:21: initpart.o] Error 1
make[3]: Leaving directory '/autofs/nccs-svm1_home1/wyphan/work/hpctoolkit-tutorial-examples/examples/gpu/laghos/laghos/metis-4.0.3/Lib'
make[2]: *** [Makefile:4: default] Error 2
make[2]: Leaving directory '/autofs/nccs-svm1_home1/wyphan/work/hpctoolkit-tutorial-examples/examples/gpu/laghos/laghos/metis-4.0.3'
make[1]: *** [makefile:267: metis] Error 2
make[1]: Leaving directory '/autofs/nccs-svm1_home1/wyphan/work/hpctoolkit-tutorial-examples/examples/gpu/laghos/laghos/Laghos'
make[1]: Entering directory '/autofs/nccs-svm1_home1/wyphan/work/hpctoolkit-tutorial-examples/examples/gpu/laghos/laghos/Laghos'
makefile:132: *** The MFEM library is not built. Stop.
make[1]: Leaving directory '/autofs/nccs-svm1_home1/wyphan/work/hpctoolkit-tutorial-examples/examples/gpu/laghos/laghos/Laghos'
from laghos.
You can add the flag -std=c89
to fix this.
from laghos.
Perfect! Now Laghos builds cleanly on Crusher. Thanks a lot!
from laghos.
Related Issues (20)
- NC or NURBS meshes HOT 3
- Definition of Q1D HOT 2
- R-Z coordinates with partial assembly HOT 1
- blast wave propagation HOT 2
- Other Equation of State in Laghos HOT 11
- Scaling Laghos / Picking number of processes/tasks HOT 1
- "spack install laghos" on LLNL quartz with gcc/8.3.1 is failing HOT 2
- Multi GPU runs HOT 4
- Excessive device memory wastage HOT 4
- Failing tests with Hypre-cuda and full assembly HOT 2
- Laghos in a workflow? HOT 11
- GPU run of verification result #5 does not match values in table HOT 2
- Cylindrical co-ordinate implementation with FA HOT 2
- multi-material implementation HOT 8
- 'laghos' cores when run against 'box01_hex.mesh' with perfect cube of ranks HOT 2
- CUDA-awareness question HOT 5
- Question about performance (mainly cuda code) HOT 52
- L2 space for the energy variable discretization HOT 1
- ResetTimeStepEstimate logic HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laghos.