Skip to content
Snippets Groups Projects
Commit 5d7519f1 authored by jumu's avatar jumu
Browse files

modification of installation

parent 2f075395
No related branches found
No related tags found
1 merge request!23modification of installation
Pipeline #39321 passed
......@@ -24,7 +24,7 @@ It is recommended to create a new environment to install hydesign if you have ot
git clone https://gitlab.windenergy.dtu.dk/TOPFARM/hydesign.git
cd hydesign
conda create -c conda-forge --name hydesign python=3.7 --file=requirements.txt
conda env create --file environment.yml
activate hydesign
......@@ -51,4 +51,4 @@ We highly recommend developers to install hydesign into the environment created
git clone https://gitlab.windenergy.dtu.dk/TOPFARM/hydesign.git
cd hydesign
pip install -e .
\ No newline at end of file
pip install -e .
......@@ -29,9 +29,9 @@ echo Sophia job identifier: $SLURM_JOBID
echo -----------------------------------------------------------------
# Set environment
source /groups/INP/miniconda3/bin/activate
conda activate HyDesign_openmdao_dev
python EGO_surrogate_based_optimization.py
source /home/jumu/miniconda3/bin/activate
conda activate hydesign
python /home/jumu/hydesign/hydesign/EGO_surrogate_based_optimization.py --case India --site
# Example usage:
# --------------
......
name: hydesign
channels:
- conda-forge
dependencies:
- h5netcdf
- netcdf4
- python=3.7
- pip
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment