Hi, I was trying to calibrate a VIC model with SPOTPY. I tried the algorithms: SCE-UA, MC, LHS FAST, and ROPE from spotpy 1.6.2 with parallel process (openmpi 4.1.2). After optimization is done the mpi does not exit from the calibration process. Here is a minimal example:
s = spot_setup(soilfile, gaugefile, bid, metpath, '1980-10-01', '2007-09-30')
np.random.seed(42)
sampler = spotpy.algorithms.sceua(s, dbname="SCEUA_maurer", dbformat='csv', parallel='mpi')
sampler.sample(1000, 10, 100)
And running with:
mpirun -c 34 python calibration.py
I've tried many methods, and changing parallel='mpc' from 'mpi' does exit the simulation, but the computational time is long. Does anyone have any idea how to solve this problem?