fromdatetimeimportdatetimefrommat3ra.ide.computeimportQueueName# 2. Auth and organization parameters# Set organization name to use it as the owner, otherwise your personal account is usedORGANIZATION_NAME=None# 3. Material parametersFOLDER="../uploads"MATERIAL_NAME="Silicon"# Name of the material to load from local file or Standata# 4. Workflow parametersWORKFLOW_SEARCH_TERM="total_energy.json"# Search term for Workflows StandataAPPLICATION_NAME="espresso"# Specify application name (e.g., "espresso", "vasp", "nwchem")ADD_RELAXATION=False# Whether to add relaxation subworkflow as first unit# set k-grid for relaxation and SCF (if not set, KPPRA is used by default)RELAXATION_KGRID=None# e.g., [4, 4, 4]SCF_KGRID=None# e.g., [4, 4, 4]MY_WORKFLOW_NAME="Total Energy"+(" (relax)"ifADD_RELAXATIONelse"")# 5. Compute parametersCLUSTER_NAME=None# specify full or partial name i.e. "cluster-001" to selectQUEUE_NAME=QueueName.DPPN=1# 6. Job parameterstimestamp=datetime.now().strftime("%Y-%m-%d %H:%M")POLL_INTERVAL=30# seconds
The commented code in cell 4.3.2 sets a model other than the workflow's when uncommented.