Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gpu #30

Merged
merged 90 commits into from
Mar 26, 2021
Merged

Gpu #30

merged 90 commits into from
Mar 26, 2021

Conversation

aniabrown
Copy link
Collaborator

  • Contains updates to GPU version of METHOD to run the SRMHD model
  • Contains functionality for serial/MPI hdf5 output, and serial/MPI restart from checkpoint file
  • Contains instructions for running on Iridis in Scripts/IridisEnv

Testing:

SRMHD was tested for the non-MPI case using the test_srmhd unit test. CPU and GPU versions are no longer compared, instead, certain non-MPI GPU simulation outputs are compared to MPI GPU when unit tests are run.

The checkpoint restart functionality has only been tested very simply -- by writing out an HDF5 file at t=0, and comparing a run initialised in the normal way with a run initialised using that HDF5 file. There are currently no plans to add checkpoint restart functionality into the unit tests.

My next goal for the GPU version is to convert the unit testing framework to use HDF5 rather than text outputs where outputs are saved. Happy to either wait on this PR to include that functionality or to make another PR.

aniabrown and others added 30 commits July 14, 2020 11:38
…raries. This is simpler than doing some compilation with mpicc and some with nvcc but does require the user knowing the location of their MPI build.
… Serial HDF5 also outputs flat files. Added HDF5 to CMAKE. Added scripts to convert flat file to HDF5, and to compare two arbitrary flat file output sets.
… wrong answer. Currently copying all prims and aux to gpu -- need to copy only those values that are required for the guess in future
@aniabrown
Copy link
Collaborator Author

From commit 7bd3cc1, standardising makefiles to address issue #32

@aniabrown aniabrown mentioned this pull request Feb 19, 2021

source ../../venv/bin/activate

export PYTHONPATH=$PYTHONPATH:../../Scripts:/home/amb1u19/METHOD_branches/METHOD_dev_hdf5/Scripts
Copy link
Collaborator

Choose a reason for hiding this comment

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

You may want amb1u19 -> whoami or a similar trick


source ../../venv/bin/activate

export PYTHONPATH=$PYTHONPATH:../../Scripts:/home/amb1u19/METHOD_branches/METHOD_dev_hdf5/Scripts
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same issue as GPU script - username hardcoded.

@aniabrown aniabrown merged commit 9865d60 into master Mar 26, 2021
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.

None yet

4 participants