UWGeodynamics icon indicating copy to clipboard operation
UWGeodynamics copied to clipboard

1_20_ColumnsTractionBottom example run error

Open longgangfan opened this issue 5 years ago • 1 comments

I tried to run the example 1_20_ColumnsTractionBottom.

  1. When I run it in serial, everything is ok.
  2. When I convert it to .py and run with mpirun -np 4 in the local machine and use Model.run_for(duration=1e4 * u.year, checkpoint_interval = 5e3 * u.year) the line P = Model.lithostatic_pressureField.evaluate(np.array([[x,y]])) cause an evaluate error "out of domain" So I comment out all the lines to calculate "P" , and give "P = 0.26988636" directly. everything is working well.
  3. However, when I submit it to the slurm cluster, error reported:

fid = h5f.open(name, h5f.ACC_RDWR, fapl=fapl) _File "h5py/_objects.pyx", line 54, in h5py.objects.with_phil.wrapper _File "h5py/_objects.pyx", line 55, in h5py.objects.with_phil.wrapper File "h5py/h5f.pyx", line 96, in h5py.h5f.open OSError: Unable to open file (File does not exist, error stack: ADIOI_UFS_OPEN(37): File /public1/home/sc92030/jobs/3D_compress/plasticStrain-0.h5 does not exist)

slurm-208359.out.txt 1_20_ColumnsTractionBottom.py.txt slurm-211834.out.txt

I check it, and the file is there already. So , ADIOI_UFS_OPEN error may be the key point. Any suggestion?

longgangfan avatar Apr 23 '21 04:04 longgangfan

After changing from mpich 3.4.1 to openmpi 3.1.6, everything is ok.

longgangfan avatar Apr 24 '21 15:04 longgangfan