Comments (6)
@MHBalsmeier The project does not support CMake at this time. We are not in a position to debug every individual's setup. If the code itself has reproducible errors we would like to know and are grateful for pull requests that identify and fix them.
That said, looking at your output suggests that you are trying to compile the code with Gnu Fortran 9,3 using OpenMP directives. The compilation failures arise when processing the OpenMP directives for for GPU offloading. It may be that the compiler does not support GPU offloading with OpenMP directives. If you don't plan to use a GPU there is no reason to build the code with OpenMP.
Suggestions for compiler flags are available at https://github.com/earth-system-radiation/rte-rrtmgp/blob/main/Compiler-flags.md. If you have suggestions as to how these might be improved please open a pull request.
from rte-rrtmgp.
Okay, thanks, sorry for asking, I will stick to the old version.
from rte-rrtmgp.
@MHBalsmeier If you can convince CMake to compile without using OpenMP this should also work.
from rte-rrtmgp.
Yes but my dynamical core is in C and I have OpenMP in it, it does not seem to be possible to compile the C code with OpenMP and RRTM without OpenMP. I can only compile the whole model with or without OpenMP.
from rte-rrtmgp.
@MHBalsmeier You could consider to compile RTE+RRTMGP separately, with its own rules, and link to it as a library. This is an approach other models have taken.
Likely CMake also allows you to specify compiler flags on a per-file or per-collection-of-files basis.
from rte-rrtmgp.
Thanks, I'll try that.
from rte-rrtmgp.
Related Issues (20)
- gpt_Jac optional arguement code may be incorrect for OpenMP offload HOT 2
- Units in cloud optics extension? HOT 3
- RFMIP clear sky test failing with forcing index != 1 HOT 1
- A flexible benchmarking program HOT 4
- Kernel arguments HOT 4
- Small bug in mo_gas_optics_rrtmgp.F90 HOT 1
- Potential indexing error rte/kernels-openacc/mo_rte_solver_kernels.F90 HOT 2
- Optimized compiler flags for PGI incorrect HOT 3
- RRTMGP and Single Precision HOT 11
- Generic names in C bindings HOT 1
- Intel Compiler Optimization Problem on AMD EPYC ( Milan ) HOT 10
- Request for data files names to use ISO dates HOT 2
- Memory layout in gas optics kernels HOT 2
- Macro name in build system HOT 2
- Testing OpenMP GPU offload with Intel OneAPI compilers HOT 3
- Data external to code repo? HOT 15
- Inconsistent RRTMGP results on CPU with different code paths HOT 23
- Removing dtc/ccpp branch HOT 6
- Bug in rrtmgp/kernels/mo_gas_optics_kernels.F90 HOT 5
- RTE shortwave kernel not vectorizing HOT 1
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 rte-rrtmgp.