Skip to content

Commit

Permalink
Merge branch 'letid_geospatial' of https://github.com/NREL/PVDegradat…
Browse files Browse the repository at this point in the history
…ionTools into letid_geospatial
  • Loading branch information
jfkaras committed Oct 20, 2023
2 parents 410a788 + 408c536 commit 7462ed2
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 15 deletions.
2 changes: 1 addition & 1 deletion pvdeg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from .config import *

#from . import cli
# from . import cli
from . import collection
from . import degradation
from . import design
Expand Down
25 changes: 11 additions & 14 deletions pvdeg/geospatial.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,17 @@ def start_dask(hpc=None):
.. code-block:: python
hpc = {'manager': 'slurm',
'n_jobs': 1, # Max number of nodes used for parallel processing
'cores': 36,
'memory': '96GB',
'queue': 'debug',
'account': 'pvsoiling',
'walltime': '01:00:00',
'interface': 'ib0',
'processes': 18,
'local_directory': '/tmp/scratch',
'shared_temp_directory': '/scratch/mspringe',
'job_extra_directives': ['-o ./logs/slurm-%j.out'],
'silence_logs': 'error',
'death_timeout': '60',}
kestrel = {
'manager': 'slurm',
'n_jobs': 1, # Max number of nodes used for parallel processing
'cores': 104,
'memory': '256GB',
'account': 'pvsoiling',
'walltime': '4:00:00',
'processes': 52,
'local_directory': '/tmp/scratch',
'job_extra_directives': ['-o ./logs/slurm-%j.out'],
'death_timeout': 600,}
Returns
-------
Expand Down
22 changes: 22 additions & 0 deletions pvdeg_tutorials/tutorials/LETID - Outdoor Geospatial Demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,28 @@
"## 1 Start distributed compute cluster - DASK"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"hpc = {'manager': 'slurm',\n",
" 'n_jobs': 1, # Max number of nodes used for parallel processing\n",
" 'cores': 36,\n",
" 'memory': '96GB',\n",
" 'queue': 'debug',\n",
" 'account': 'pvsoiling',\n",
" 'walltime': '01:00:00',\n",
" 'interface': 'ib0',\n",
" 'processes': 18,\n",
" 'local_directory': '/tmp/scratch',\n",
" 'shared_temp_directory': '/scratch/jkaras',\n",
" 'job_extra_directives': ['-o ./logs/slurm-%j.out'],\n",
" 'silence_logs': 'error',\n",
" 'death_timeout': '60',}"
]
},
{
"cell_type": "code",
"execution_count": 2,
Expand Down

0 comments on commit 7462ed2

Please sign in to comment.