Git Product home page Git Product logo

Comments (5)

shipanhua avatar shipanhua commented on July 18, 2024

#=====================================================================
# Library paths and elements, e.g.,
# LIBXC_PATH = /opt/packages/LibXC/libxc-4.3.4/INTEL
# ACCEL_PATH = /usr/local/cuda
# FFTW_PATH = /usr/local/FFTW/fftw-3.3.8/INTEL
# P3DFFT_PATH = /opt/packages/P3DFFT/p3dfft-2.7.9/INTEL
# LUA_PATH = /opt/packages/Lua/lua-5.3.5

from must.

wangy2014 avatar wangy2014 commented on July 18, 2024

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.

shipanhua avatar shipanhua commented on July 18, 2024
[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.

wangy2014 avatar wangy2014 commented on July 18, 2024

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.

shipanhua avatar shipanhua commented on July 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.