(Must be on NTNU network or use VPN!) https://www.hpc.ntnu.no/idun
Log on :
ssh -l USERNAME idun-login1.hpc.ntnu.no
The directory where you're allowed to do computations:
cd /lustre1/work/USERNAME
Here, clone into this github repo, by using
git clone https://github.com/maudrod/prosjektoppgave.git
Connecting to IDUN when you are at home and not at NTNU:
ssh [email protected]
ssh -l maudr idun-login1.hpc.ntnu.no
https://www.hpc.ntnu.no/idun/getting-started-on-idun/modules
$ type virtualenv
$ virtualenv datasci
$ source datasci/bin/activate
(datasci)$ pip install scipy numpy scikit-learn pandas matplotlib
If you are already in the prosjektoppgave folder:
source ../datasci/bin/activate
https://www.hpc.ntnu.no/idun/getting-started-on-idun/running-jobs
Create a job.slurm file:
vim job.slurm
Use the key i to edit this file. Copy paste the file as it is on the help page.
Account = ie-imf
Email: your ntnu email
When done, Ctrl+C, then write :wq!
and hit enter.
chmod u+x job.slurm
sbatch job.slurm
First make sure you're up to date with the current repository:
git pull
Once you've made a change, use the command
git add .
(to add everything you've done) or
git add FILEYOUMADECHANGESTO.py
git commit -m "la til det her"
git push
python3 maud.py output > maudteksten.txt
Write in terminal: `mv
Maud:
scp -r [email protected]:/lustre1/work/maudr/Prosjektoppgave/prosjektoppgave/MAPPEN_DU_VIL_LASTE_NED STEDET_PÅ_PCEN_DER_DETTE_LAGRES
Emil:
scp -r [email protected]:/lustre1/work/emilamy/prosjektoppgave/MAPPEN_DU_VIL_LASTE_NED STEDET_PÅ_PCEN_DER_DETTE_LAGRES
https://www.sciencedirect.com/science/article/pii/S0896627317309029