-
Notifications
You must be signed in to change notification settings - Fork 25
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
reV Generation Module Fails When Using SLURM on AWS ParallelCluster #501
Comments
I haven't had a chance to look into this properly yet, but an initial glance through your log file ( |
Hello, sorry for the delayed response. Based on the log file you attached, it looks like your HSDS server is still not launching correctly. I think from here you have two options:
If you want to continue pursuing this route, you will need to update the shell script to properly set up an HSDS server. We have some guidance on setting up a local HSDS server here, but we do not maintain a single script that does this.
I think option 2 may be the easiest, but hopefully this gives you enough info to continue to make progress on this. |
Issue Description
I'm analyzing RE potential in West Africa using reV to connect with the REEDS model for capacity expansion. Following the AWS ParallelCluster setup guide (https://nrel.github.io/reV/misc/examples.aws_pcluster.html), I've encountered an issue when switching to SLURM execution option.
Current Behavior
execution_control: option= local
: Successfully generates h5 file in ~25 minutes for 300 sc points.execution_control: option= slurm
: Fails to generate output h5 filereV generation -c config_gen_WestAfrica.json
Expected Behavior
Environment Details
AWS ParallelCluster Configuration:
Multiple Error (s) found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ec2-user/miniconda3/envs/hsds_env/lib/python3.8/site-packages/rex/utilities/utilities.py", line 336, in check_res_file
with h5pyd.Folder(hsds_dir + '/') as f:
File "/home/ec2-user/miniconda3/envs/hsds_env/lib/python3.8/site-packages/h5pyd/_hl/folders.py", line 204, in init
rsp = self._http_conn.GET(req)
File "/home/ec2-user/miniconda3/envs/hsds_env/lib/python3.8/site-packages/h5pyd/_hl/httpconn.py", line 480, in GET
raise IOError("Connection Error")
OSError: Connection Error
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "", line 1, in
File "/home/ec2-user/miniconda3/envs/hsds_env/lib/python3.8/site-packages/gaps/cli/config.py", line 594, in run_with_status_updates
out = run_func(**run_kwargs)
File "/shared/reV/reV/generation/generation.py", line 436, in init
self._multi_h5_res, self._hsds = check_res_file(resource_file)
File "/home/ec2-user/miniconda3/envs/hsds_env/lib/python3.8/site-packages/rex/utilities/utilities.py", line 351, in check_res_file
raise FileNotFoundError(msg) from ex
FileNotFoundError: /nrel/nsrdb/meteosat/meteosat_2019.h5 is not a valid file path, and HSDS cannot be check for a file at this path:Connection Error!
Attached Files
I've tried various configuration options but haven't been able to resolve the issue. Any assistance would be greatly appreciated.
config_gen_WestAfrica.json
westafrica_generation.log
westafrica_generation_j0_79.e.txt
The text was updated successfully, but these errors were encountered: