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

Compiling CASTEP 8 and 16 on ARCHER

Instructions on how to compile a serial version of CASTEP 8 and CASTEP 16 for use on the pre/post-processing nodes of ARCHER (Intel Sandybridge processors)

Compiler

CASTEP should be compiled using the Intel compilers, but as we are building the serial version for running on the serial nodes (pre/post processing nodes) we do not need to use the standard Cray compiler wrappers (i.e. ftn, cc, CC).

It is possible to build serial CASTEP on the ARCHER login nodes, but it is probably more sensible to build this version of CASTEP directly on the serial nodes, either through submitting a job through the batch system to these nodes or through interactive access on (SSHing directly into) one of the two serial nodes. Documentation on how to do this is available here.

Set up your environment

Swap to the Intel programming environment:

module swap PrgEnv-cray PrgEnv-intel

Build the program

Build the program with:

make ARCH=linux_x86_64_ifort14 COMMS_ARCH=serial FFT=mkl clean
make ARCH=linux_x86_64_ifort14 COMMS_ARCH=serial FFT=mkl  

Path to MKL:

/opt/intel/composerxe/mkl/lib

Back to the CASTEP page

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

EPSRC NERC EPCC