26 |
|
|
27 |
|
What you need to compile and use OpenMD: |
28 |
|
|
29 |
< |
1) Good C, C++ and Fortran95 compilers. We've built and tested OpenMD |
29 |
> |
1) Good C++ and C compilers. We've built and tested OpenMD |
30 |
|
on the following architecture & compiler combinations: |
31 |
|
|
32 |
< |
Architecture CC CXX F90 Notes |
33 |
< |
------------------------- ---- ----- ----- ---------------------- |
34 |
< |
ix86-pc-linux-gnu icc icpc ifort (Intel v. 10) |
35 |
< |
i686-apple-darwin10.0.0 gcc g++ gfortran (GNU v.4.3) |
36 |
< |
i686-apple-darwin10.0.0 icc icpc ifort (Intel v. 11) |
37 |
< |
x86_64-unknown-linux-gnu gcc g++ pathf95 (Pathscale 3.2) |
32 |
> |
Architecture CC CXX Notes |
33 |
> |
------------------------- ---- ----- ---------------------- |
34 |
> |
ix86-pc-linux-gnu icc icpc (Intel v. 10) |
35 |
> |
i386-apple-darwin11.1.0 gcc g++ (GNU v.4.3) |
36 |
> |
i386-apple-darwin11.1.0 icc icpc (Intel v. 12) |
37 |
> |
x86_64-unknown-linux-gnu gcc g++ (Pathscale 3.2) |
38 |
|
|
39 |
< |
OpenMD uses features of the Fortran 95 language. The fortran |
40 |
< |
portions of our code will not compile if your compiler does not |
41 |
< |
support these particular features. Some (but not all) Fortran 90 |
42 |
< |
compilers do support these features. |
39 |
> |
2) CMake, a cross-platform build system which is available at |
40 |
> |
http://www.cmake.org Most Linux and some Unix distributions |
41 |
> |
provide CMake as a standard package. If not, please download it, |
42 |
> |
and make sure you get a recent version. Mac OS X users can either |
43 |
> |
download the CMake installer or install it from the command line |
44 |
> |
using macports. |
45 |
|
|
46 |
< |
Compilers that are known to fail on OpenMD: g77, older versions of |
47 |
< |
gfortran, older Portland Group compilers (pgf77, pgf90). |
46 |
> |
3) MPI-2 is optional for the single processor version of OpenMD, but |
47 |
> |
is required if you want OpenMD to run in parallel. We like |
48 |
> |
OpenMPI. Other implementations of MPI-2 might work, but we haven't |
49 |
> |
tested them. You can get Open MPI here: http://www.open-mpi.org/ |
50 |
|
|
51 |
< |
Compilers that are known to work on OpenMD: Intel's ifort, |
52 |
< |
Pathscale's pathf95, IBM's xlf95, Portland-F¢s pgf95 (version 6 or-A |
49 |
< |
higher), Sun's f95. There may be others that work also. |
51 |
> |
4) Other optional (but quite useful) libraries that will unlock some |
52 |
> |
features of OpenMD: |
53 |
|
|
54 |
< |
2) GNU make (also known as gmake). Regular make won't work. |
55 |
< |
Really. We've tried. Don't bother with regular make. |
56 |
< |
Seriously. You need GNU make. Did we mention that you |
54 |
< |
need GNU make? |
54 |
> |
Open Babel: http://openbabel.org |
55 |
> |
Qhull: http://www.qhull.org |
56 |
> |
FFTW: http://www.fftw.org |
57 |
|
|
58 |
< |
3) Perl. Compilation dependencies in Fortran95 are somewhat |
59 |
< |
complicated, so the build process uses a perl script called |
60 |
< |
filepp to do this job. You need perl for filepp, so you |
59 |
< |
need perl to build OpenMD. |
58 |
> |
5) Some of the utility scripts depend on Python and Perl. These |
59 |
> |
interpreters are common installations on most flavors of Unix and |
60 |
> |
Mac OS X. |
61 |
|
|
61 |
– |
4) MPI-2 is optional for the single processor version of OpenMD, but |
62 |
– |
is required if you want OpenMD to run in parallel. We like |
63 |
– |
OpenMPI. Other implementations of MPI-2 might work, but we haven-F¢t-A |
64 |
– |
tried. You can get Open MPI here: http://www.open-mpi.org/ |
62 |
|
|
63 |
|
INSTRUCTIONS |
64 |
|
|
65 |
|
1) Get, build, and test the required pieces above. |
66 |
< |
2) ./configure |
66 |
> |
2) cmake . |
67 |
|
3) make |
68 |
|
4) make install |
69 |
|
|