[ ] I am running on an up-to-date pypsa-eur environment. Update via conda env update -f envs/environment.yaml.
Describe the Bug
Solver (Gurobi) warming/error and cluster network rule error running the electricity only pypsa-eur tutorial with: snakemake -call results/test-elec/networks/elec_s_6_ec_lcopt_Co2L-24H.nc --configfile config/test/config.electricity.yaml
Error Message
Gurobi solver error message:
Set parameter Username
Academic license - for non-commercial use only - expires 2024-12-17
C:\Users\ray.rojas\AppData\Local\anaconda3\envs\pypsa-eur\Lib\site-packages\pulp\apis\gurobi_api.py:170: UserWarning: GUROBI error: Unknown parameter '_test'.
warnings.warn("GUROBI error: {}.".format(e))
Full Snakemake log:
Config file config/config.yaml is extended by additional config specified via the command line.
Building DAG of jobs...
Provided cores: 6
Rules claiming more threads will be scaled down.
Conda environments: ignored
Job stats:
job count
add_extra_components 1
cluster_network 1
prepare_network 1
solve_network 1
total 4
RuleException:
CalledProcessError in file C:\Users\ray.rojas\pypsa-eur\rules/build_electricity.smk, line 501:
Command 'C:/Users/ray.rojas/AppData/Local/anaconda3/envs/pypsa-eur/python.exe "C:\Users\ray.rojas\pypsa-eur.snakemake\scripts\tmpg7drjypw.cluster_network.py"' returned non-zero exit status 1.
File "C:\Users\ray.rojas\pypsa-eur\rules/build_electricity.smk", line 501, in __rule_cluster_network
File "C:\Users\ray.rojas\AppData\Local\anaconda3\envs\pypsa-eur\Lib\concurrent\futures\thread.py", line 58, in run
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
Complete log: .snakemake\log\2024-01-10T130459.057132.snakemake.log
Checklist
master
pypsa-eur
environment. Update viaconda env update -f envs/environment.yaml
.Describe the Bug
Solver (Gurobi) warming/error and cluster network rule error running the electricity only pypsa-eur tutorial with: snakemake -call results/test-elec/networks/elec_s_6_ec_lcopt_Co2L-24H.nc --configfile config/test/config.electricity.yaml
Error Message
Gurobi solver error message: Set parameter Username Academic license - for non-commercial use only - expires 2024-12-17 C:\Users\ray.rojas\AppData\Local\anaconda3\envs\pypsa-eur\Lib\site-packages\pulp\apis\gurobi_api.py:170: UserWarning: GUROBI error: Unknown parameter '_test'. warnings.warn("GUROBI error: {}.".format(e))
Full Snakemake log: Config file config/config.yaml is extended by additional config specified via the command line. Building DAG of jobs... Provided cores: 6 Rules claiming more threads will be scaled down. Conda environments: ignored Job stats: job count
add_extra_components 1 cluster_network 1 prepare_network 1 solve_network 1 total 4
Select jobs to execute...
[Wed Jan 10 13:05:09 2024] rule cluster_network: input: resources/networks/elec_s.nc, resources/regions_onshore_elec_s.geojson, resources/regions_offshore_elec_s.geojson, resources/busmap_elec_s.csv, data/costs_2030.csv output: resources/networks/elec_s_6.nc, resources/regions_onshore_elec_s_6.geojson, resources/regions_offshore_elec_s_6.geojson, resources/busmap_elec_s_6.csv, resources/linemap_elec_s_6.csv log: logs/test-elec/cluster_network/elec_s_6.log jobid: 3 benchmark: benchmarks/test-elec/cluster_network/elec_s_6 reason: Missing output files: resources/networks/elec_s_6.nc wildcards: simpl=, clusters=6 resources: tmpdir=C:\Users\RAY~1.ROJ\AppData\Local\Temp, mem_mb=10000, mem_mib=9537
[Wed Jan 10 13:05:17 2024] Error in rule cluster_network: jobid: 3 input: resources/networks/elec_s.nc, resources/regions_onshore_elec_s.geojson, resources/regions_offshore_elec_s.geojson, resources/busmap_elec_s.csv, data/costs_2030.csv output: resources/networks/elec_s_6.nc, resources/regions_onshore_elec_s_6.geojson, resources/regions_offshore_elec_s_6.geojson, resources/busmap_elec_s_6.csv, resources/linemap_elec_s_6.csv log: logs/test-elec/cluster_network/elec_s6.log (check log file(s) for error details) conda-env: C:\Users\ray.rojas\pypsa-eur.snakemake\conda\6e870daf0907ec063615bde01e3e1451
RuleException: CalledProcessError in file C:\Users\ray.rojas\pypsa-eur\rules/build_electricity.smk, line 501: Command 'C:/Users/ray.rojas/AppData/Local/anaconda3/envs/pypsa-eur/python.exe "C:\Users\ray.rojas\pypsa-eur.snakemake\scripts\tmpg7drjypw.cluster_network.py"' returned non-zero exit status 1. File "C:\Users\ray.rojas\pypsa-eur\rules/build_electricity.smk", line 501, in __rule_cluster_network File "C:\Users\ray.rojas\AppData\Local\anaconda3\envs\pypsa-eur\Lib\concurrent\futures\thread.py", line 58, in run Shutting down, this might take some time. Exiting because a job execution failed. Look above for error message Complete log: .snakemake\log\2024-01-10T130459.057132.snakemake.log
conda list