Skip to content

CFE standalone mode with option FORCINGPET #75

@WanruWu-NOAA

Description

@WanruWu-NOAA

Following the README.md for Compiling and Running CFE with option FORCINGPET in standalone mode it didn't pass the run . I was wondering if I missed anything and/or how to fix it?

Current behavior

Expected behavior

Steps to replicate behavior (include URLs)

  1. git clone https://github.com/NOAA-OWP/cfe.git
  2. cd cfe
  3. git checkout ajk/sft_aet_giuh_merge
  4. mkdir build && cd build
  5. cmake ../ -DFORCINGPET=ON
  6. make
  7. ./run_cfe.sh FORCINGPET
  8. Run results and error messages:
CFE running with option FORCINGPET
config file: ./configs/cat_87_bmi_config_cfe_pass.txt ./configs/cat_87_bmi_config_aorc.txt ./configs/cat_87_bmi_config_pet_pass.txt
allocating memory to store entire BMI structure for CFE
allocating memory to store entire BMI structure for AORC
allocating memory to store entire BMI structure for PET
Registering BMI CFE model
Registering BMI AORC model
Registering BMI PET model
Initializeing BMI CFE model
' could not be opened for reading
Initializeing BMI AORC model
AORC config file ./configs/cat_87_bmi_config_aorc.txt
File does not exist.
 Failed in function read_file_line_counts
' could not be opened for readinggs/cat87_01Dec2015.csv
Initializeing BMI PET model
File does not exist.
 Failed in function read_file_line_counts_pet
' could not be opened for reading
Get the information from the configuration here in Main
forcing file for the CFE module BMI
forcing file for the PET module BMI
forcing file for the AORC module ./forcings/cat87_01Dec2015.csv
The model time step size is: 3600.000000
looping through and calling update
#    ,            hourly ,  direct,   giuh ,lateral,  base,   total, storage, ice fraction, ice fraction
Time [h],rainfall [mm],runoff [mm],runoff [mm],flow [mm],flow [mm],discharge [mm],storage [mm],schaake [mm],xinan [-]
./run_cfe.sh: line 38: 88456 Segmentation fault      (core dumped) ./build/${exe_name} $args

Screenshots

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions