Skip to content

Commit

Permalink
added folders param_scan and scan_size
Browse files Browse the repository at this point in the history
  • Loading branch information
marchunter committed Oct 8, 2017
1 parent 7b71004 commit 1c4be6f
Show file tree
Hide file tree
Showing 12 changed files with 978 additions and 5 deletions.
Binary file added exampledata/test_features_1000.npy
Binary file not shown.
Binary file added exampledata/test_labels_1000.npy
Binary file not shown.
2 changes: 1 addition & 1 deletion learn-batch.slrm
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ echo "start"
echo $work_dir

echo "Running Python sklearn_krr_mlp.py"
python3 sklearn_krr_mlp.py param /scratch/work/jagerm1/critcat/aucu/ml/aucu_13atomic/AuCu_clustertype13atomic_pristine_Hn1_cnstr_ver3_MJ20170509/soap/data/a0_0.5_acut_5_n_3_l_9.npy /scratch/work/jagerm1/critcat/aucu/ml/aucu_13atomic/AuCu_clustertype13atomic_pristine_Hn1_cnstr_ver3_MJ20170509/soap/data/aucu_13atomic_adsen_corr.npy krr
python3 sklearn_krr_mlp.py run featurepath labelpath krr

############################################################################
echo "Name of the partition in which the job is running: $SLURM_JOB_PARTITION"
Expand Down
6 changes: 3 additions & 3 deletions learn-debug.slrm
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash
#SBATCH -p debug #partition
#SBATCH -t 00:10:00
#SBATCH -t 00:30:00
#SBATCH --mem-per-cpu=4000
#SBATCH -o sbatch-hsw-%j.out
#SBATCH -n 8
#SBATCH -n 16
##SBATCH -c 4
#SBATCH -N 1
##SBATCH --constraint=hsw
Expand All @@ -23,7 +23,7 @@ source activate /scratch/work/jagerm1/custom_env/np_scipy_sklearn
echo "start"
echo $work_dir
echo "Running Python sklearn_krr_mlp.py"
python3 sklearn_krr_mlp.py run /scratch/work/jagerm1/critcat/aucu/ml/aucu_13atomic/AuCu_clustertype13atomic_pristine_Hn1_cnstr_ver3_MJ20170509/soap/data/a0_0.5_acut_5_n_3_l_9.npy /scratch/work/jagerm1/critcat/aucu/ml/aucu_13atomic/AuCu_clustertype13atomic_pristine_Hn1_cnstr_ver3_MJ20170509/soap/data/aucu_13atomic_adsen_corr.npy krr
python3 sklearn_krr_mlp.py run featurepath labelpath krr

############################################################################
echo "Name of the partition in which the job is running: $SLURM_JOB_PARTITION"
Expand Down
41 changes: 41 additions & 0 deletions param_scan/learn-batch.slrm
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#!/bin/bash
#SBATCH -p batch #partition
#SBATCH -t 03:30:00
#SBATCH --mem-per-cpu=5000
#SBATCH -o sbatch-hsw-%j.out
#SBATCH -n 20
##SBATCH -c 4
#SBATCH -N 1
##SBATCH --constraint=hsw
##SBATCH --array=50,100,150,200,250,300,350,400,450,500

### PREPARE ###

module load anaconda3
source activate /scratch/work/jagerm1/custom_env/np_scipy_sklearn

## use first input you get



### PROCESS ###

echo "start"
echo $work_dir

echo "Running Python sklearn_krr_mlp.py"
# $1 = features
# $2 = labels

python3 sklearn_krr_mlp.py param $1 $2 krr
############################################################################
echo "Name of the partition in which the job is running: $SLURM_JOB_PARTITION"
echo "Name of the node running the job script: $SLURMD_NODENAME"
echo " The ID of the job allocation: $SLURM_JOB_ID"
echo " List of nodes allocated to the job: $SLURM_JOB_NODELIST"

source deactivate

echo "finnish"


41 changes: 41 additions & 0 deletions param_scan/learn-debug.slrm
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#!/bin/bash
#SBATCH -p debug #partition
#SBATCH -t 00:30:00
#SBATCH --mem-per-cpu=4000
#SBATCH -o sbatch-hsw-%j.out
#SBATCH -n 16
##SBATCH -c 4
#SBATCH -N 1
##SBATCH --constraint=hsw
##SBATCH --array=50,100,150,200,250,300,350,400,450,500

### PREPARE ###

module load anaconda3
source activate /scratch/work/jagerm1/custom_env/np_scipy_sklearn

## use first input you get



### PROCESS ###

echo "start"
echo $work_dir
echo "Running Python sklearn_krr_mlp.py"
# $1 = features
# $2 = labels

python3 sklearn_krr_mlp.py param $1 $2 krr

############################################################################
echo "Name of the partition in which the job is running: $SLURM_JOB_PARTITION"
echo "Name of the node running the job script: $SLURMD_NODENAME"
echo " The ID of the job allocation: $SLURM_JOB_ID"
echo " List of nodes allocated to the job: $SLURM_JOB_NODELIST"

source deactivate

echo "finnish"


Loading

0 comments on commit 1c4be6f

Please sign in to comment.