tips:building_abinit
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
tips:building_abinit [2014/01/22 16:22] – Yann Pouillon | tips:building_abinit [2017/05/24 09:30] (current) – Matthieu Verstraete | ||
---|---|---|---|
Line 35: | Line 35: | ||
export FC=ifort | export FC=ifort | ||
export CC=icc | export CC=icc | ||
- | </ | + | </ |
+ | Then issue: | ||
+ | < | ||
./configure --enable-netcdf4 --prefix=/ | ./configure --enable-netcdf4 --prefix=/ | ||
make | make | ||
make install | make install | ||
</ | </ | ||
- | - **Install Abinit with netCDF4**\\ Be careful if you have set flags into you .ac file. You should unset the variable first: < | + | - **Install Abinit with netCDF4**\\ |
+ | Be careful if you have set flags into you .ac file. You should unset the variable first: | ||
+ | < | ||
unset FC | unset FC | ||
unset CC | unset CC | ||
- | </ | + | </ |
+ | You should then add the following lines into your .ac configuration file: | ||
+ | < | ||
with_netcdf_incs=" | with_netcdf_incs=" | ||
with_netcdf_libs=" | with_netcdf_libs=" | ||
with_trio_flavor=" | with_trio_flavor=" | ||
- | </ | + | </ |
+ | For some mpi-io parallel I/O fancy stuff you may need to add the hdf5 explicitly | ||
+ | < | ||
+ | with_netcdf_incs=" | ||
+ | with_netcdf_libs=" | ||
+ | with_trio_flavor=" | ||
+ | </ | ||
+ | Note that here all of the libraries have been put in the same lib and include directories for convenience (otherwise you need to add the corresponding -I< | ||
+ | |||
+ | Then you should make a build directory into Abinit and issue: | ||
+ | < | ||
../ | ../ | ||
make mj4 | make mj4 |
tips/building_abinit.1390407731.txt.gz · Last modified: 2014/01/22 16:22 by Yann Pouillon