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

parallel_env needs to be set and it is not in default experiment.wrf4g files. #85

Open
markelg opened this issue Aug 1, 2022 · 0 comments

Comments

@markelg
Copy link
Contributor

markelg commented Aug 1, 2022

parallel_env = "MPIRUN" needs to be added to experiment.wrf4g in order to WRF to work, if parallel_wrf is set to true. Otherwise is fails with the following error.

2022-08-01 13:30:49,476 Run wrf
2022-08-01 13:30:49,559 Unexpected error:
Traceback (most recent call last):
  File "/home/users/garciam/.drm4g/jobs/.gw_garciam_21/lib/python/wrf4g/wrapper.py", line 544, in launch
    self.main_workflow()
  File "/home/users/garciam/.drm4g/jobs/.gw_garciam_21/lib/python/wrf4g/wrapper.py", line 589, in main_workflow
    self.run_wrf(binaries)
  File "/home/users/garciam/.drm4g/jobs/.gw_garciam_21/lib/python/wrf4g/wrapper.py", line 1317, in run_wrf
    cmd = "%s wrf_launcher.sh %s" % (params.parallel_run, wrf_exe)
AttributeError: 'PilotParams' object has no attribute 'parallel_run'
2022-08-01 13:30:49,559 'PilotParams' object has no attribute 'parallel_run'

In the documentation it says that MPIRUN is the default value, but it is not, right now it needs to be explicitly set. This is a problem in the logic of wrapper.py.

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

1 participant