fit_hpc not working
Hi @mbertoni,
If I go to cd /aloy/home/mduran/myscripts/playground/fittest/
, and then I run:
from chemicalchecker.core.sign0 import sign0
from chemicalchecker.core.sign1 import sign1
s0 = sign0(".", ".", "D1.002")
s1 = sign1(".", ".", "D1.002")
cluster = s1.fit_hpc(s0)
I get the following error:
2019-05-01 12:42:42,490 chemicalchecker.core.signature_base.BaseSignature [INFO ] Creating model_path in: ./models
2019-05-01 12:42:42,493 chemicalchecker.core.signature_base.BaseSignature [INFO ] Creating stats_path in: ./stats
2019-05-01 12:42:42,495 chemicalchecker.core.sign0.sign0 [DEBUG ] signature path is: .
2019-05-01 12:42:42,497 chemicalchecker.core.sign0.sign0 [DEBUG ] data_path: ./sign0.h5
2019-05-01 12:42:42,499 chemicalchecker.util.config.config.Config [DEBUG ] Loading config from: /aloy/home/mduran/cc_config.json
2019-05-01 12:42:42,503 chemicalchecker.core.sign1.sign1 [DEBUG ] signature path is: .
2019-05-01 12:42:42,505 chemicalchecker.core.sign1.sign1 [WARNING ] Sign1 using default value (True) for discrete parameter
2019-05-01 12:42:42,506 chemicalchecker.util.config.config.Config [DEBUG ] Loading config from: /aloy/home/mduran/cc_config.json
2019-05-01 12:42:42,509 chemicalchecker.util.config.config.Config [DEBUG ] Loading config from: /aloy/home/mduran/cc_config.json
2019-05-01 12:42:42,511 chemicalchecker.util.hpc.hpc.HPC [DEBUG ] HPC system to use: sge
2019-05-01 12:42:42,513 chemicalchecker.util.hpc.hpc.HPC [DEBUG ] initializing object sge
2019-05-01 12:42:42,830 chemicalchecker.util.hpc.sge.sge [DEBUG ] Job name is: sign1_fit_hpc.py
2019-05-01 12:42:42,833 chemicalchecker.util.hpc.sge.sge [INFO ] Writing file /tmp/tmp_tJU4qL/job-sign1_fit_hpc.py.sh...
2019-05-01 12:42:42,835 chemicalchecker.util.hpc.sge.sge [DEBUG ] HPC submission: qsub -terse -q all.q /tmp/tmp_tJU4qL/job-sign1_fit_hpc.py.sh
2019-05-01 12:42:58,208 chemicalchecker.util.hpc.sge.sge [DEBUG ] Unable to read script file because of error: error opening /tmp/tmp_tJU4qL/job-sign1_fit_hpc
It seems that it is trying to read /tmp/tmp_tJU4qL/job-sign1_fit_hpc
instead of /tmp/tmp_tJU4qL/job-sign1_fit_hpc.py.sh