DataWaveProject / MiMA-machine-learning

Model of an idealized Moist Atmosphere: Intermediate-complexity General Circulation Model with full radiation
GNU General Public License v3.0
1 stars 0 forks source link

cmake for MiMA v2 #1

Closed dorchard closed 1 year ago

dorchard commented 1 year ago
jatkinson1000 commented 1 year ago

I have opened a PR here However, since it is from the ICCS fork, not this one, I don't seem to be able to link it to this issue (@dorchard).

The next step is to write some documentation, and then I will ask @lm2612 to clone and see if a) documentation can be followed, and b) MiMA can successfully be built via CMake and run on Sherlock.

jatkinson1000 commented 1 year ago

Thi has now been transferred to a PR here #34 following merging of the ICCS fork with the DataWave one. The previously opened PR #33 will shortly be closed.

SimonClifford commented 1 year ago

To use the options in the CMake build, you need something like when you build the project:

cmake .. -DBUILD_PT_COUPLING=yes -DFTorch_DIR=<path/to/dir/containing/FTorchConfig.cmake>

You'll have already built fortran-pytorch-lib (the the tf-lib) and make installed them somehere. Further fixes for the fortran-pytorch-lib and tensorflow lib may get these working without the -DFTorch_DIR lags

dorchard commented 1 year ago

https://github.com/mjucker/MiMA/pull/34 Was merged by Martin here into the home repo.