samstat icon indicating copy to clipboard operation
samstat copied to clipboard

2.2.2 build issues

Open MrDotOne opened this issue 1 year ago • 6 comments

Trying to build this on the HPC running CentOS 7 that i manage, and the instructions arent working:

[root@cc-dclrilog61 samstat]# module list Currently Loaded Modulefiles: 7) hdf5_18/1.8.20 8) gcc/8.2.0 9) cmake/3.9.1

[root@cc-dclrilog61 ~]# git clone https://github.com/TimoLassmann/samstat.git [root@cc-dclrilog61 ~]# cd samstat [root@cc-dclrilog61 samstat]# mkdir build [root@cc-dclrilog61 build]# cd build [root@cc-dclrilog61 build]# cmake -DCMAKE_INSTALL_PREFIX=/cm/shared/apps/samstats/2.2.2 .. -- The C compiler identification is GNU 8.2.0 -- Check for working C compiler: /cm/local/apps/gcc/8.2.0/bin/gcc -- Check for working C compiler: /cm/local/apps/gcc/8.2.0/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Submodule update You need to run this command from the toplevel of the working tree. CMake Error at src/CMakeLists.txt:12 (message): git submodule update --init --recursive failed with 1, please checkout submodules -- Configuring incomplete, errors occurred! See also "/root/temp/samstat/build/CMakeFiles/CMakeOutput.log".

And no matter what i do, it fails with the same submodule error, even if i cd .. and run that command, still fails to build

Any thoughts?

MrDotOne avatar Mar 30 '23 20:03 MrDotOne