Install cp2k in Cygwin - cygwin

I am facing this error when instal cp2k in Cygwin.
223 | #error -ffast-math (GCC) or -hfpN (N>0, Cray) can lead to wrong results and numerical instabilities and are therefore no longer supported
| 1~~~~
Error: #error -ffast-math (GCC) or -hfpN (N>0, Cray) can lead to wrong results and numerical instabilities and are therefore no longer supported
make[3]: *** [/cygdrive/c/My_stuff/5-Sotwares/cp2k-7.1/cp2k-7.1/Makefile:466: environment.o] Error 1
make[2]: *** [/cygdrive/c/My_stuff/5-Sotwares/cp2k-7.1/cp2k-7.1/Makefile:134: all] Error 2
make[1]: *** [/cygdrive/c/My_stuff/5-Sotwares/cp2k-7.1/cp2k-7.1/Makefile:123: sopt] Error 2
make: *** [Makefile:118: all] Error 2
Please help me tp overcome this issue.

Related

eigen/core error while building heasillidar_sdk

I was trying to build https://github.com/HesaiTechnology/HesaiLidar_General_SDK and it showed that Eigen/Core was missig.I am new to this so I dont know what went wrong where.It would be a great help if someone could help.The error has been given below
[ 8%] Building CXX object src/PandarGeneralRaw/CMakeFiles/PandarGeneral.dir/src/pandarGeneral_internal.cc.o
In file included from /usr/include/pcl-1.10/pcl/io/pcd_io.h:42,
from /home/rock/Downloads/HesaiLidar_General_SDK/src/PandarGeneralRaw/include/pandarGeneral/pandarGeneral_internal.h:20,
from /home/rock/Downloads/HesaiLidar_General_SDK/src/PandarGeneralRaw/src/pandarGeneral_internal.cc:20:
/usr/include/pcl-1.10/pcl/pcl_macros.h:75:10: fatal error: Eigen/Core: No such file or directory
75 | #include <Eigen/Core>
| ^~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/PandarGeneralRaw/CMakeFiles/PandarGeneral.dir/build.make:76: src/PandarGeneralRaw/CMakeFiles/PandarGeneral.dir/src/pandarGeneral_internal.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:153: src/PandarGeneralRaw/CMakeFiles/PandarGeneral.dir/all] Error 2
make: *** [Makefile:84: all] Error 2```
EDIT:Fixed it!
running ln -s /usr/include/eigen3/Eigen /usr/include/Eigen
worked

Unable to build and install binutils in Kali linux

I was trying to install OS 161 KALI LINUX version 2020.3 64bit. The first step was to build and install binutils.
The procedure I followed is shown in this .
I configured the binutils and got this output https://pastebin.com/iXjFq3Zu but upon running i got the make command i got the following errors https://pastebin.com/DYSBdUqq .
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:2551: as-new] Error 1
make[4]: Leaving directory '/home/digzsudi/Downloads/binutils-2.17+os161-2.0.1/gas'
make[3]: *** [Makefile:2596: all-recursive] Error 1
make[3]: Leaving directory '/home/digzsudi/Downloads/binutils-2.17+os161-2.0.1/gas'
make[2]: *** [Makefile:2482: all] Error 2
make[2]: Leaving directory '/home/digzsudi/Downloads/binutils-2.17+os161-2.0.1/gas'
make[1]: *** [Makefile:4860: all-gas] Error 2
make[1]: Leaving directory '/home/digzsudi/Downloads/binutils-2.17+os161-2.0.1'
make: *** [Makefile:627: all] Error 2
root#kali:/home/digzsudi/Downloads/binutils-2.17+os161-2.0.1#

When I use carpet driver instead of pugh these errors generated

I am using EINSTEIN-TOOLKIT on windows via CYGWIN.
When i run any module with CARPET driver instead of PUGH. I found these type of errors.
ln -s "../../opal/asm/generated/atomic-local.s" atomic-asm.S
CPPAS atomic-asm.lo
CCLD libasm.la
../../libtool: line 1744: lib: command not found
make[6]: *** [Makefile:1659: libasm.la] Error 127
make[5]: *** [Makefile:2234: all-recursive] Error 1
make[4]: *** [Makefile:1777: all-recursive] Error 1
Died at /home/hp/cactus/arrangements/ExternalLibraries/MPI/src/build.pl line 90.
make[3]: *** [/home/hp/cactus/arrangements/ExternalLibraries/MPI/src/make.code.deps:9: /home/hp/cactus/configs/multipole/scratch/done/MPI] Error 17
make[2]: *** [/home/hp/cactus/lib/make/make.thornlib:113: make.checked] Error 2
make[1]: *** [/home/hp/cactus/lib/make/make.configuration:181: /home/hp/cactus/configs/multipole/lib/libthorn_MPI.a] Error 2
make: *** [Makefile:260: multipole] Error 2

Why am I receiving make errors when trying to compile GCC?

I am currently working on Linux From Scratch part 5.5: http://www.linuxfromscratch.org/lfs/view/stable/chapter05/gcc-pass1.html Although i have followed everything exactly correctly to this point, I am receiving the following make errors after about 20 minutes of compiling GCC 8.2.0:
make[3]: *** [Makefile:1110: graphite-isl-ast-to-gimple.o] Error 1
make[3]: Leaving directory '/mnt/lfs/sources/gcc-8.2.0/build/gcc'
make[2]: *** [Makefile:4567: all-stage1-gcc] Error 2
make[2]: Leaving directory '/mnt/lfs/sources/gcc-8.2.0/build'
make[1]: *** [Makefile:21435: stage1-bubble] Error 2
make[1]: Leaving directory '/mnt/lfs/sources/gcc-8.2.0/build'
make: *** [Makefile:897: all] Error 2
Any help would be appreciated, I have been trying for hours.

OpenMPI 1.6.3- 64 bit installation failure in CentOS 6.3

How to install OpenMPI 1.6.3 - 64 bit version in a machine with CUDA 5.0 installed already. OS using is CentOS 6.3 x86_64.
After doing the configure i gave the command make. At last it is showing some conflict with the CUDA include files.
I
have gave the following options in configure command
./configure --enable-heterogeneous --enable-cxx-exceptions --enable-opal-multi-threads --enable-mpi-thread-multiple --with-wrapper-cflags=-m64 --with-wrapper-cxxflags=-m64 --with-wrapper-ldflags=-m64 --with-wrapper-libs=-m64 --with-wrapper-fflags=-m64 --with-wrapper-fcflags=-m64 --with-exflags=-m64 --with-timer=TYPE CFLAGS=-m64 LDFLAGS=-m64 CPPFLAGS=-m64 CXXFLAGS=-m64 CCASFLAGS=-m64 FFLAGS=-m64 FCFLAGS=-m64 --prefix=/usr/local/openmpi
configure command successfully executed. After that i gave
make
After a lot of output i got the following errors in the terminal.
Making all in vtlib
make[5]: Entering directory `/Softwares/OpenMPI/openmpi-1.6.3/ompi/contrib/vt/vt/vtlib'
CC vt_comp_gnu.lo
CC vt_getcpu.lo
CC vt_gpu.lo
CC vt_cudartwrap.lo
vt_cudartwrap.c:145: error: conflicting types for 'cudaGetSymbolAddress'
/usr/local/cuda/include/cuda_runtime_api.h:4263: note: previous declaration of 'cudaGetSymbolAddress' was here
vt_cudartwrap.c:164: error: conflicting types for 'cudaGetSymbolSize'
/usr/local/cuda/include/cuda_runtime_api.h:4285: note: previous declaration of 'cudaGetSymbolSize' was here
vt_cudartwrap.c:392: error: conflicting types for 'cudaGetTextureReference'
/usr/local/cuda/include/cuda_runtime_api.h:5055: note: previous declaration of 'cudaGetTextureReference' was here
vt_cudartwrap.c:501: error: conflicting types for 'cudaFuncGetAttributes'
/usr/local/cuda/include/cuda_runtime_api.h:2241: note: previous declaration of 'cudaFuncGetAttributes' was here
vt_cudartwrap.c:797: error: conflicting types for 'cudaFuncSetCacheConfig'
/usr/local/cuda/include/cuda_runtime_api.h:2122: note: previous declaration of 'cudaFuncSetCacheConfig' was here
vt_cudartwrap.c:969: error: conflicting types for 'cudaGetSurfaceReference'
/usr/local/cuda/include/cuda_runtime_api.h:5110: note: previous declaration of 'cudaGetSurfaceReference' was here
vt_cudartwrap.c:1565: error: conflicting types for 'cudaFuncSetSharedMemConfig'
/usr/local/cuda/include/cuda_runtime_api.h:2173: note: previous declaration of 'cudaFuncSetSharedMemConfig' was here
make[5]: *** [vt_cudartwrap.lo] Error 1
make[5]: Leaving directory `/Softwares/OpenMPI/openmpi-1.6.3/ompi/contrib/vt/vt/vtlib'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/Softwares/OpenMPI/openmpi-1.6.3/ompi/contrib/vt/vt'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/Softwares/OpenMPI/openmpi-1.6.3/ompi/contrib/vt/vt'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/Softwares/OpenMPI/openmpi-1.6.3/ompi/contrib/vt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Softwares/OpenMPI/openmpi-1.6.3/ompi'
make: *** [all-recursive] Error 1
The problem is not in Open MPI buth rather with the bundled VampirTrace library. Simply configure the build with --disable-vt. 1.6.1 does not build VT by default. Maybe 1.6.3 had this changed. If you need MPI tracing, obtain the latest VampirTrace from its home site and build it separately.
This answer is provided by Hristo Iliev Nov 16 at 12:35

Resources