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

Improve compile/install as SWMF component #58

Open
drsteve opened this issue Oct 23, 2019 · 1 comment
Open

Improve compile/install as SWMF component #58

drsteve opened this issue Oct 23, 2019 · 1 comment

Comments

@drsteve
Copy link
Collaborator

drsteve commented Oct 23, 2019

Currently installing as part of the SWMF requires making a number of changes manually that should be automated, or otherwise handled:

  • Commenting out PLE_OBJECTS in ModRamRun.f90
  • Commenting out the DoUsePlane_SCB IF block in src/Makefile
  • Removing the share directory
  • Manually changing paths in both Makefile.conf and Makefile.def

Using with SWMF should be easier out-of-the-box and minimizing the amount of manual editing is highly desirable.

@Pheosics
Copy link
Collaborator

Actually, with the creation of the srcExternal directory and moving the iri and msis stuff needed for the plasmasphere stuff, the only manual change needed should be the removing of the share directory.

I have no idea why I thought manually changing the Makefile.conf and Makefile.def was necessary at the time (probably because I didn't fully understand the Config.pl), but it is definitely not needed, you can specify the options to pass to the RAM Config.pl like so

./Config.pl -o=IM:gsl=/turquoise/usr/projects/carrington,ncdf=/usr/projects/hpcsoft/toss3/grizzly/netcdf/4.4.0_gcc-6.4.0_openmpi-2.1.2

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

No branches or pull requests

2 participants