underworld2 icon indicating copy to clipboard operation
underworld2 copied to clipboard

Restart underworld coupling with Badlands in 2.15.1b version in HPC

Open HonghaoXiong opened this issue 5 months ago • 1 comments

@julesghub Sir, I tested my code in HPC for restart results but it shows an error in below snapshot. I tried changing my inputPath instead of the relatively Path which you can see in next picture. I uploaded my original code which you can check it. My Badlands results directory is named 'outbdls_1-4e_0p1man_delay', so i do not know why code reports it can not found outbdls. Then I also tried to change directory name to outbdls and code reported it counld not found 'outbdls_1-4e_0p1man_delay' which made me confused. You mentioned does the process in the Docker container have access to that file, but my code and all results directory in the same path.

Image Image Image

10Mid_delayrain.py

HonghaoXiong avatar Sep 04 '25 11:09 HonghaoXiong

The Model.outputsDir is the output path for Underworld (e.g., mesh, swarm, and their variables); this is free to set to any path you want. While the outputDir in Model.surfaceProcesses (or in the input XML file for Badlands) is the output path for Badlands (flow and tin files), better set to the default one "outbdls".

NengLu avatar Sep 08 '25 10:09 NengLu