Comments (5)
MuST/architecture/ubuntu-gnu-mpich
Lines 7 to 13 in 76ad290
from must.
The path shown in the architecture file, ubuntu-gnu-mpich, is just an example. You need to set the path based on your system environment. Let me use FFTW as an example here:
If your system has FFTW installed, for example, under /usr/local/FFTW/fftw-3.3.8, then you should set "FFTW_PATH = /usr/local/FFTW/fftw-3.3.8".
If your system has multiple versions of FFTW installation, and the one built with intel compiler is installed under /usr/local/FFTW/fftw-3.3.8/INTEL. you will need to set "FFTW_PATH = /usr/local/FFTW/fftw-3.3.8/INTEL", if you want to use intel compiler to build MuST .
If you don't have FFTW installed on your system, you may just set "FFTW_PATH =". In this case, MuST will install FFTW for you under MuST/external/.
I hope this helps.
from must.
[root@node131 MuST-master]# make ubuntu-gnu-mpich
.
make[1]: Entering directory `/opt/MuST-master/external'
if [ ! -d libxc/LibXC ]; then \
DIR_NAME="libxc-5.0.0" && cd libxc && rm -f LibXC && tar xfz libxc.tar.gz && \
ln -fs $DIR_NAME LibXC; fi
if [ ! -e libxc/LibXC/./lib/libxc.a ]; then \
cd libxc/LibXC && echo $PWD && ./configure --prefix=$PWD/. CC=mpicc.mpich CFLAGS="-O3" FC=mpif90.mpich FFLAGS="-O3" && make clean && make && make install; fi
/opt/MuST-master/external/libxc/LibXC
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for a sed that does not truncate output... /bin/sed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... mpicc.mpich
checking whether the C compiler works... no
configure: error: in `/opt/MuST-master/external/libxc/LibXC':
configure: error: C compiler cannot create executables
See `config.log' for more details
make[1]: *** [libxc] Error 77
make[1]: Leaving directory `/opt/MuST-master/external'
make: *** [ubuntu-gnu-mpich] Error 2
from must.
The architecture usually needs to be modified, since each system has different software environment. For example, the MPI wrapper for C may be called mpicc on your systems, while in ubuntu-gnu-mpich it assumes that the wrapper is called mpicc.mpich (to distinguish from other MPI wrapper, e.g. openmpi, for C). If your system has mpich installed, and the wrapper is called mpicc, you will need to modify this architecture file by setting "CC=mpicc". The same rule applies to CXX, F77, FC, MPICC as well.
from must.
Thanks for your help on compiling! Additionally, I've learnt the Tutorial file and could u please guide me for more information in the Ouput file, such as force and distance between any two atoms?
from must.
Related Issues (18)
- document properties that can be calculated HOT 4
- add topics HOT 1
- mst2 is interrupted in Tutorial CuZn/BCC, but B2 and Supercell work fine HOT 2
- Setting lattice type, documentation of settings? HOT 1
- fig
- Error occured during mst2 run: forrtl: severe (174): SIGSEGV, segmentation fault occurred HOT 11
- How to generate new potential HOT 2
- Can MuST handle structures more than cubic HOT 2
- About scf error: rho0(ir) < 0 HOT 2
- pic
- Help with CPA: Setup and Convergence HOT 1
- KKR calculations fail HOT 9
- pic2023
- slides 2023
- workshop2023-flyer HOT 1
- Installation Issue in MACOS HOT 3
- Inquiry on Implementation of Liechtenstein Formula HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from must.