Skip to content

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

@TasnimTasfia

Description

@TasnimTasfia

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions