-
Notifications
You must be signed in to change notification settings - Fork 105
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
SUMMA
crashes when paths in fileManager
text file miss /
at the end
#561
Comments
Can you send the output from executing this without redirecting output into another file? |
Thank you Andy, and sorry for the oversight in documenting the error message. I have pasted the error in the following: $ ./summa.exe -g 93 1 -m ./settings/fileManager_1month.txt
GRU-Parallelization run activated. 1 GRUs are selected for simulation.
file_master is './settings/fileManager_1month.txt'.
1 controlVersion: SUMMA_FILE_MANAGER_V3.0.0
2 simStartTime: 1988-01-01 01:00
3 simEndTime: 1988-01-31 23:00
4 tmZoneInfo: utcTime
5 settingsPath: /home/kasra.keshavarz1/pbhmCourse_student/4_high_performance_computing/settings/
6 outputPath: /home/kasra.keshavarz1/pbhmCourse_student/4_high_performance_computing/output/
7 forcingPath: /work/TALC/enci619.05_2024w/hpc_forcing
8 decisionsFile: modelDecisions.txt
9 outputControlFile: outputControl_wb.txt
10 globalHruParamFile: localParamInfo.txt
11 globalGruParamFile: basinParamInfo.txt
12 attributeFile: local_attribute_camels.nc
13 trialParamFile: ParamTrial.camels.direct_calib_15.nc
14 forcingListFile: forcingFileList.txt
15 initConditionFile: warmState_1988010100.nc
16 outFilePrefix: camels_nldas_1month
17 vegTableFile: VEGPARM.TBL
18 soilTableFile: SOILPARM.TBL
19 generalTableFile: GENPARM.TBL
20 noahmpTableFile: MPTABLE.TBL
id variable requested in outputControl, will be skipped: variable=hruId
FATAL ERROR: summa_paramSetup/ffile_info/FileNotFound[file='/work/TALC/enci619.05_2024w/hpc_forcingnldasForcing_198801.nc']
Note: The following floating-point exceptions are signalling: IEEE_INVALID_FLAG
STOP 1
|
It seems that the fileManager you shared does have the final
Expecting the final |
Sorry for the inconsistency, I revised my first post. It should be accurate now. |
Wouter is correct, this works as expected -- SUMMA doesn't crash, it exits. The error message shows you that you should put the '/' at the end of the directory path in the fileManager. It's a convention, although if someone wanted to they could easily add some code to include a '/' on the end of whatever is entered in the directory path names or with slightly more effort check to see if a '/' exists first. |
Bug Report
Apparently,
SUMMA
crashes when the paths in thefileManager
text file miss the/
at the end. The error I receive is the following:This normally shouldn't happen. I guess.
Here is the setting file for
fileManager
that I am using:gcc/gfortran 7.3.0
The text was updated successfully, but these errors were encountered: