HPC/Applications/meep

From CNM Wiki
< HPC‎ | Applications(Redirected from HPC/Modules/meep)
Jump to navigation Jump to search

Installation Notes

Distribution

Supporting Packages

blas, lapack

  • needed for harminv (not speed-critical)
    • CentOS blas and lapack collide with RHEL libgfortran:
 Transaction Check Error:   package libgfortran-4.1.2-14.el5 (which is newer than libgfortran-4.1.1-52.el5.2) is already installed
    • This is RedHat's 64-bit version: libgfortran-4.1.2-14.el5.x86_64 – 32bit version is missing!

We have:

[root@mgmt01 redhat]# locate '*libgfortran*rpm'
/drbd/exports/opt/centos/5.0/os/x86_64/CentOS/libgfortran-4.1.1-52.el5.i386.rpm
/drbd/exports/opt/centos/5.0/os/x86_64/CentOS/libgfortran-4.1.1-52.el5.x86_64.rpm
/drbd/exports/opt/centos/5.0/updates/x86_64/RPMS/libgfortran-4.1.1-52.el5.2.i386.rpm
/drbd/exports/opt/centos/5.0/updates/x86_64/RPMS/libgfortran-4.1.1-52.el5.2.x86_64.rpm
/drbd/exports/opt/centos/5.0/updates-staged/x86_64/RPMS/libgfortran-4.1.1-52.el5.2.i386.rpm
/drbd/exports/opt/centos/5.0/updates-staged/x86_64/RPMS/libgfortran-4.1.1-52.el5.2.x86_64.rpm
/drbd/exports/opt/centos/5.1/os/x86_64/CentOS/libgfortran-4.1.2-14.el5.i386.rpm
/drbd/exports/opt/centos/5.1/os/x86_64/CentOS/libgfortran-4.1.2-14.el5.x86_64.rpm
/drbd/exports/opt/rhel/5Server/os/x86_64/Server/libgfortran-4.1.1-52.el5.i386.rpm
/drbd/exports/opt/rhel/5Server/os/x86_64/Server/libgfortran-4.1.1-52.el5.x86_64.rpm
/drbd/exports/opt/rhel/5Server/updates/x86_64/RPMS/libgfortran-4.1.1-52.el5.2.i386.rpm
/drbd/exports/opt/rhel/5Server/updates/x86_64/RPMS/libgfortran-4.1.1-52.el5.2.x86_64.rpm
/drbd/exports/opt/rhel/5Server/updates/x86_64/RPMS/libgfortran-4.1.2-14.el5.x86_64.rpm
/drbd/exports/opt/rhel/5Server/updates-staged/x86_64/RPMS/libgfortran-4.1.2-14.el5.x86_64.rpm
    • Brute force:
rpm -ivh /opt/centos/5.1/os/x86_64/CentOS/libgfortran-4.1.2-14.el5.i386.rpm
yum install lapack lapack-devel blas blas-devel

zlib

yum install zlib-devel

FFTW2, FFTW3

./BUILD.SH
grep -i warn config*.log

TODO: install and configure "environment-modules"

guile

  • from RHEL5
yum install guile guile-devel

Installing:
 guile                   x86_64     5:1.8.0-8.20060831cvs  Server            1.4 M
 guile                   i386       5:1.8.0-8.20060831cvs  Server            1.4 M
 guile-devel             x86_64     5:1.8.0-8.20060831cvs  Server            120 k
 guile-devel             i386       5:1.8.0-8.20060831cvs  Server            120 k
Installing for dependencies:
 gmp                     i386       4.1.4-10.el5     Server            665 k
 gmp-devel               x86_64     4.1.4-10.el5     Server            568 k
 libtool-ltdl            i386       1.5.22-6.1       Server             37 k
 libtool-ltdl            x86_64     1.5.22-6.1       Server             37 k

libctl

./BUILD.SH

HarmInv

checking for C complex keyword... _Complex
checking for C complex I constant... unsupported
configure: error: C doesn't support complex numbers.
  • Solution:
CFLAGS=-std=c99
  • final:
./BUILD.SH

HDF5

./BUILD-SERIAL.SH

MEEP

  • download to /opt/soft/src/meep
  • build in /opt/soft/build/meep-*
./BUILD.SH
  • added to
/opt/teamhpc/node-skel/etc/profile.d/cnm.*sh
  • build 3 is a chimera, with -llapack, and MKL dependencies, build 4 uses no MKL
  • TODO: eval, benchmark