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 NAMD 2.9 on ARCHER

The instructions are for compiling NAMD 2.9 on ARCHER (Cray XC30, Ivy Bridge)

Compiler

NAMD should be compiled using the Intel compilers on ARCHER.

Set up your environment

Swap to the Intel programming environment:

module swap PrgEnv-cray PrgEnv-intel

and add the FFTW2 library:

module load fftw/2.1.5.6

Build TCL 8.4

You must use TCL 8.4

cd unix
./configure --enable-icc --disable-load --disable-shared --disable-threads --prefix=/home/y07/y07/namd/tcl8.4.20

Edit following lines in Makefile

CC                      = cc -pipe -m64  -march=native

CFLAGS_OPTIMIZE                = -O3

ENV_FLAGS = -DNO_UNAME

Then Make

make clean
make
make install

Build CHARM

Unpack source which comes with NAMD

tar -xvf charm-6.5.1.tar

Build

./build charm++ mpi-crayxc -O -DCMK_OPTIMIZE=1

Build NAMD

Modify CRAY-XC.fftw to be the following

FFTLIB=-lsrfftw -lsfftw
FFTFLAGS=-DNAMD_FFTW
FFT=$(FFTINCL) $(FFTFLAGS)

Modify the following lines in CRAY-XC.tcl to point to TCL 8.4 location and version 8.4, e.g

TCLDIR=/home/y07/y07/namd/tcl8.4.20/
TCLLIB=-L$(TCLDIR)/lib -ltcl8.4

Modify CRAY-XC-intel.arch

CHARMARCH = mpi-crayxc

Configure

./config CRAY-XC-intel

Make

cd CRAY-XC-intel
make

Back to the NAMD page

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

EPSRC NERC EPCC