#pyxaid#1
Open
elkandro wants to merge 4 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi, I have syntax error when I run the PYXAID code. Could you please help me to figure out what is going on?!
I have copy my job file and error message below:
Thanks
######### syntax error is ################
and the syntax error is follwing:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Error in routine pw_export (1):
reading inputpp namelist
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0
File "", line 7
params["start_indx"]=
^
SyntaxError: invalid syntax
######## job file###########
#!/bin/bash
#SBATCH -n 56
#SBATCH -J espresso-test
#SBATCH -t 24:00:00
echo "SLURM_JOBID="$SLURM_JOBID
echo "SLURM_JOB_NODELIST="$SLURM_JOB_NODELIST
echo "SLURM_NNODES="$SLURM_NNODES
echo "SLURMTMPDIR="$SLURMTMPDIR
echo "working directory="$SLURM_SUBMIT_DIR
NPROCS=
srun --nodes=${SLURM_NNODES} bash -c 'hostname' |wc -lecho NPROCS=$NPROCS
module load optinit
module load QuantumEspresso/gnu/6.1
module load pyxaid/gnu/1.0
Setup all manual parameters here
Must be ABSOLUTE paths
NP=28
exe_qespresso= /opt/COST/QuantumEspresso/6.1/gnu/bin/pw.x
exe_export= /opt/COST/QuantumEspresso/6.1/gnu/bin/pw_export.x
exe_convert=/opt/COST/QuantumEspresso/6.1/gnu/bin/iotk
res=/home/eali/Projects/QE_C60/PYXAID/step2/res
These will be assigned automatically, leave them as they are
param1=
param2=
This is invocation of the scripts which will further handle NA-MD calclculations
on the NAC calculation step
python -c "from PYXAID import *
params = { }
params["NP"]=$NP
params["EXE"]="$exe_qespresso"
params["EXE_EXPORT"]="$exe_export"
params["EXE_CONVERT"] = "$exe_convert"
params["start_indx"]=$param1
params["stop_indx"]=$param2
params["wd"]="wd_test"
params["rd"]="$res"
params["minband"]=4
params["nocc"]=6
params["maxband"]=10
params["nac_method"]=0
params["wfc_preprocess"]="complete"
params["do_complete"]=1
params["prefix0"]="x0.scf"
params["prefix1"]="x1.scf"
params["compute_Hprime"]=0
print params
runMD1.runMD(params)
"
#############################