Skip to content

Update CMake build#97

Draft
Sichao25 wants to merge 2 commits into
PrincetonUniversity:masterfrom
Sichao25:yus/cmake
Draft

Update CMake build#97
Sichao25 wants to merge 2 commits into
PrincetonUniversity:masterfrom
Sichao25:yus/cmake

Conversation

@Sichao25

Copy link
Copy Markdown

This PR updates the CMake build for M3DC1. Most of the work was done by @jacobmerson , with a few additional details added by me. I've only run the kprad_2d test so far — not every executable has been tested yet, but this should serve as a good starting point.

TODO and known issues/limitations:

  • The build instructions is needed.
  • The build has been tested in perlmutter, but not in stellar
  • skeleton not tested
  • build with complex option (m3dc1_complex) not tested
  • pspline dependency not tested
  • some exes are not build (e.g. kprad.f90)
  • In certain system. c pointer TYPE(C_PTR) :: baseptr not accepted by MPI_Win_allocate_shared

Comment thread unstructured/rmp.f90
use math
use field
use mesh_mod
use scorec_mesh_mod

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mesh_mod is supposed to be switchable on the build setup through a fortran interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants