ARCHER logo ARCHER banner

The ARCHER Service is now closed and has been superseded by ARCHER2.

  • ARCHER homepage
  • About ARCHER
    • About ARCHER
    • News & Events
    • Calendar
    • Blog Articles
    • Hardware
    • Software
    • Service Policies
    • Service Reports
    • Partners
    • People
    • Media Gallery
  • Get Access
    • Getting Access
    • TA Form and Notes
    • kAU Calculator
    • Cost of Access
  • User Support
    • User Support
    • Helpdesk
    • Frequently Asked Questions
    • ARCHER App
  • Documentation
    • User Guides & Documentation
    • Essential Skills
    • Quick Start Guide
    • ARCHER User Guide
    • ARCHER Best Practice Guide
    • Scientific Software Packages
    • UK Research Data Facility Guide
    • Knights Landing Guide
    • Data Management Guide
    • SAFE User Guide
    • ARCHER Troubleshooting Guide
    • ARCHER White Papers
    • Screencast Videos
  • Service Status
    • Detailed Service Status
    • Maintenance
  • Training
    • Upcoming Courses
    • Online Training
    • Driving Test
    • Course Registration
    • Course Descriptions
    • Virtual Tutorials and Webinars
    • Locations
    • Training personnel
    • Past Course Materials Repository
    • Feedback
  • Community
    • ARCHER Community
    • ARCHER Benchmarks
    • ARCHER KNL Performance Reports
    • Cray CoE for ARCHER
    • Embedded CSE
    • ARCHER Champions
    • ARCHER Scientific Consortia
    • HPC Scientific Advisory Committee
    • ARCHER for Early Career Researchers
  • Industry
    • Information for Industry
  • Outreach
    • Outreach (on EPCC Website)

You are here:

  • ARCHER
  • User Guides & Documentation
  • Essential Skills
  • Quick Start Guide
  • ARCHER User Guide
  • ARCHER Best Practice Guide
  • Scientific Software Packages
  • UK Research Data Facility Guide
  • Knights Landing Guide
  • Data Management Guide
  • SAFE User Guide
  • ARCHER Troubleshooting Guide
  • ARCHER White Papers
  • Screencast Videos

Contact Us

support@archer.ac.uk

Twitter Feed

Tweets by @ARCHER_HPC

ISO 9001 Certified

ISO 27001 Certified

WIEN2k

Useful links

  • WIEN2k web page
  • WIEN2k Guide

Licensing and Access

WIEN2k is licensed software. All users wishing to access the WIEN2k package should have a valid WIEN2k licence (see the WIEN2k Web Page). Once you have a valid licence please submit a request via SAFE to request access on ARCHER.

Running

To run WIEN2k you need to add the correct module to your environment.

module add wien2k

Example Job Submission Script

The WIEN2k job should be run from the directory in which the input files are stored. An example WIEN2k job submission script is shown below.

#!/bin/bash --login                                                                  
#PBS -N w2k-example
#PBS -l select=192
#PBS -l walltime=12:00:00
#PBS -A [User Budget]

module load wien2k

export OMP_NUM_THREADS=1

# Make sure any symbolic links are resolved to absolute path
export PBS_O_WORKDIR=$(readlink -f $PBS_O_WORKDIR)

# change into your working directory
cd $PBS_O_WORKDIR

export NNODE=`qstat -f $PBS_JOBID | awk '/nodect/ {print $3}'`
export NTASK=`qstat -f $PBS_JOBID | awk '/resources_used.ncpus/ {print $3}'`

#Find which compute nodes we've been assigned
aprun -n $NTASK /bin/hostname 2> /dev/null | sed '/^App/d' | sort > nodelist

#Generate the .machines file
proclist=(`cat nodelist`)
nproc=${#proclist[@]}
echo Number of processors $nproc

#For MPI parallel lapw0
echo -n 'lapw0:' > .machines
i=0
while [ $i -lt $nproc ]
do
echo -n " ${proclist[$i]}" >> .machines
i=$[$i+1]
done
echo >> .machines

##For single k-point/MPI parallel lapw1/2
echo -n "1:" >> .machines
i=0
while [ $i -lt $nproc ]; do
echo -n "${proclist[$i]}" >> .machines
echo -n ' ' >> .machines
i=$[$i+1]
done
echo >> .machines

echo "granularity:1" >> .machines
echo "extrafine:1" >> .machines
rm nodelist

#define here your WIEN2k command
runsp_lapw -orb -dm -NI -i 40 -ec 0.0001 -p
save_lapw -f -d BackRKmax7Kpt50

See the WIEN2k User Guide for a guide to running WIEN2k and a description of the arguments in the submission script above.

Please note, use of the w2web utility that comes with WIEN2k is not permitted on ARCHER due to the fact that w2web runs uncoupled from a user's ARCHER session.

Compiling

  • Compiling WIEN2k 13.1 on ARCHER (Cray XC30, Ivy Bridge)

Copyright © Design and Content 2013-2019 EPCC. All rights reserved.

EPSRC NERC EPCC