JJguri / psimsV2

Regional Modelling using APSIM
GNU Affero General Public License v3.0
3 stars 1 forks source link

Is the swift language component of psims a must or cluster-dependent? #3

Open LenLon opened 1 year ago

LenLon commented 1 year ago

We are currently working on implementing psimsV2 in our cluster environment and have gotten so far as to run APSIM classic and the newest DSSAT version using psims. Now we are stuck on the .swift parts for parallelisation, because we do not have Swift installed on the cluster (we are assuming .swift files refer to Apple's programming language Swift here). Is swift a absolutely necessary for running psims in parallel or is it a cluster-specific solution from the psims developers? All it seems to do is run pysims() for each tile lon-lat pair in parallel and interface with SLURM in some way. Could it be a possibility to replace the swift components with pythons scripts for example?

JJguri commented 1 year ago

@LenLon you right, swift is basically providing the platform to parallelise the runs. I think you will be able to do it in another way using Python packages. I never tried but I think it is possible.