Issue with saving output files in different directory in croco.in

Hello,

I’m trying to organize my files by keeping the input files in one directory and saving the output files (croco_his, croco_avg) in a different directory. However, when I change only the paths in the croco.in file, I encounter an error:

"ERROR in def_his/avg: Cannot create netCDF file: /storage/output/croco_his.00000.nc

WRT_HIS ERROR: Cannot synchronize/close history netCDF file."

I would appreciate any assistance with this issue. Thank you.

Hello,
Are you sure the output directory exists ?
try

ls /storage/output/

and see if it exists