Molcas Forum

Support and discussions for Molcas and OpenMolcas users and developers

You are not logged in.

Announcement

Welcome to the Molcas forum.

Please note: The forum's URL has changed. The new URL is: https://molcasforum.univie.ac.at. Please update your bookmarks!

You can choose an avatar and change the default style by going to "Profile" → "Personality" or "Display".

#1 2022-10-15 17:10:45

David
Member
Registered: 2017-05-16
Posts: 84

Compilation succeeds but no binaries

Dear molcas developers, I encountered a problem when compiling the latest version of openmolcas, the compilation process is not hindered, but no binary program is generated in the final bin directory. The strange thing is that if I go to the CMakeFiles folder and compile each subprogram separately, it is feasible. Why is this?

export PYTHON3=/backup/home/$USER/bin/anaconda3
export PATH=$PYTHON3/bin:/usr/local/Python2.7/bin:$AMBERHOME/bin:$PATH
export LD_LIBRARY_PATH=$PYTHON3/lib:/usr/local/Python2.7/bin/lib:$AMBERHOME/lib:$LD_LIBRARY_PATH

#source /backup/home/$USER/bin/Itel2013/bin/compilervars.sh intel64
#source /backup/home/$USER/bin/Itel2013/impi/4.1.3.048/bin64/mpivars.sh
#export MKL_HOME=/backup/home/$USER/bin/Itel2013/mkl
source /usr/local/i2017/intel/bin/compilervars.sh intel64
source /usr/local/i2017/intel/impi/2017.2.174/bin64/mpivars.sh
export MKLROOT=/usr/local/i2017/intel/mkl
export PATH=$MKLROOT:$PATH
export LD_LIBRARY_PATH=$MKLROOT/lib:$LD_LIBRARY_PATH

 CC=icc CXX=icpc FC=ifort ~/bin/cmake -DLINALG=MKL -DOPENMP=ON -DCMAKE_INSTALL_PREFIX=`pwd` ../OpenMolcas-caspt2-gradients
 cd External/Libxc/tmp
 rm -f Libxc-gitclone.cmake Libxc-gitupdate.cmake
 touch Libxc-gitclone.cmake Libxc-gitupdate.cmake
 cd ../src
 cp ~/bin/libxc-6.0.0.tar.gz .
 tar -zxvf libxc-6.0.0.tar.gz
 rm -rf Libxc libxc-6.0.0.tar.gz
 mv libxc-6.0.0 Libxc
 cd ../../../
 make -j8 
 make install

Last edited by David (2022-10-15 17:12:26)

Offline

#2 2022-10-15 17:14:34

David
Member
Registered: 2017-05-16
Posts: 84

Re: Compilation succeeds but no binaries

[100%] Linking Fortran static library ../../lib/librassi.a
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Warning: File `CMakeFiles/qmstat/CMakeFiles/qmstat.exe.dir/flags.make' has modification time 8.4e+02 s in the future
[100%] Building Fortran object CMakeFiles/qmstat/CMakeFiles/qmstat.exe.dir/main.F90.o
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
[100%] Built target mckinley.exe
make[2]: Warning: File `CMakeFiles/rpa/CMakeFiles/rpa.exe.dir/flags.make' has modification time 8.4e+02 s in the future
Scanning dependencies of target rpa.exe
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Warning: File `CMakeFiles/quater/CMakeFiles/quater.exe.dir/flags.make' has modification time 8.4e+02 s in the future
[100%] Building Fortran object CMakeFiles/quater/CMakeFiles/quater.exe.dir/main.F90.o
[100%] Linking Fortran executable ../../bin/qmstat.exe
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Warning: File `CMakeFiles/rpa/CMakeFiles/rpa.exe.dir/flags.make' has modification time 8.4e+02 s in the future
[100%] Built target rassi
make[2]: Warning: File `CMakeFiles/single_aniso/CMakeFiles/single_aniso.exe.dir/flags.make' has modification time 8.4e+02 s in the future
[100%] Building Fortran object CMakeFiles/rpa/CMakeFiles/rpa.exe.dir/main.F90.o
[100%] Linking Fortran executable ../../bin/quater.exe
Scanning dependencies of target single_aniso.exe
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Warning: File `CMakeFiles/single_aniso/CMakeFiles/single_aniso.exe.dir/flags.make' has modification time 8.4e+02 s in the future
[100%] Building Fortran object CMakeFiles/single_aniso/CMakeFiles/single_aniso.exe.dir/main.f.o
[100%] Linking Fortran executable ../../bin/rpa.exe
[100%] Linking Fortran executable ../../bin/single_aniso.exe
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
[100%] Built target poly_aniso.exe
make[2]: Warning: File `CMakeFiles/slapaf/CMakeFiles/slapaf.exe.dir/flags.make' has modification time 8.4e+02 s in the future
Scanning dependencies of target slapaf.exe
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Warning: File `CMakeFiles/slapaf/CMakeFiles/slapaf.exe.dir/flags.make' has modification time 8.4e+02 s in the future
[100%] Building Fortran object CMakeFiles/slapaf/CMakeFiles/slapaf.exe.dir/main.f.o
[100%] Linking Fortran executable ../../bin/slapaf.exe
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
[100%] Built target quater.exe
make[2]: Warning: File `CMakeFiles/surfacehop/CMakeFiles/surfacehop.exe.dir/flags.make' has modification time 8.4e+02 s in the future
Scanning dependencies of target surfacehop.exe
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
[100%] Built target rpa.exe
make[2]: Warning: File `CMakeFiles/vibrot/CMakeFiles/vibrot.exe.dir/flags.make' has modification time 8.4e+02 s in the future
Scanning dependencies of target vibrot.exe
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Warning: File `CMakeFiles/surfacehop/CMakeFiles/surfacehop.exe.dir/flags.make' has modification time 8.4e+02 s in the future
[100%] Building Fortran object CMakeFiles/surfacehop/CMakeFiles/surfacehop.exe.dir/main.F90.o
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
[100%] Built target qmstat.exe
make[2]: Warning: File `CMakeFiles/mclr/CMakeFiles/mclr.exe.dir/flags.make' has modification time 8.4e+02 s in the future
Scanning dependencies of target mclr.exe
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
[100%] Built target single_aniso.exe
make[2]: Warning: File `CMakeFiles/rassi/CMakeFiles/rassi.exe.dir/flags.make' has modification time 8.4e+02 s in the future
Scanning dependencies of target rassi.exe
[100%] Linking Fortran executable ../../bin/surfacehop.exe
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Warning: File `CMakeFiles/vibrot/CMakeFiles/vibrot.exe.dir/flags.make' has modification time 8.4e+02 s in the future
[100%] Building Fortran object CMakeFiles/vibrot/CMakeFiles/vibrot.exe.dir/main.F90.o
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Warning: File `CMakeFiles/mclr/CMakeFiles/mclr.exe.dir/flags.make' has modification time 8.4e+02 s in the future
make[2]: Warning: File `CMakeFiles/rassi/CMakeFiles/rassi.exe.dir/flags.make' has modification time 8.4e+02 s in the future
[100%] Building Fortran object CMakeFiles/mclr/CMakeFiles/mclr.exe.dir/main.f.o
[100%] Linking Fortran executable ../../bin/vibrot.exe
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
[100%] Building Fortran object CMakeFiles/rassi/CMakeFiles/rassi.exe.dir/main.f.o
[100%] Built target loprop.exe
[100%] Linking Fortran executable ../../bin/rassi.exe
[100%] Linking Fortran executable ../../bin/mclr.exe
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
[100%] Built target slapaf.exe
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
[100%] Built target surfacehop.exe
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
[100%] Built target vibrot.exe
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
[100%] Built target rassi.exe
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
[100%] Built target last_energy.exe
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
[100%] Built target numerical_gradient.exe
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
[100%] Built target mclr.exe
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
make: warning:  Clock skew detected.  Your build may be incomplete.
make: Warning: File `Makefile' has modification time 8.1e+02 s in the future
make[1]: Warning: File `CMakeFiles/Makefile2' has modification time 8.5e+02 s in the future
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
Install the project...
-- Install configuration: "Release"
make: warning:  Clock skew detected.  Your build may be incomplete.

Offline

#3 2022-10-17 08:02:39

Ignacio
Administrator
From: Uppsala
Registered: 2015-11-03
Posts: 1,011

Re: Compilation succeeds but no binaries

make[1]: Warning: File `CMakeFiles/Makefile2' has modification time 8.5e+02 s in the future
make[1]: warning:  Clock skew detected.  Your build may be incomplete.

There may be a problem with your system clock, or a lack of synchronization between where your files live and where your compiler runs. Try with a clean build directory.

Offline

Board footer

Powered by FluxBB 1.5.11

Last refresh: Today 03:13:37