Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MPI does not exit after completing a calibration process with algorithms: SCE-UA, MC, LHS FAST and ROPE #327

Open
TasnimTasfia opened this issue Sep 10, 2024 · 0 comments

Comments

@TasnimTasfia
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant