users > RE: Segmentation fault
Jun 15, 2023  06:06 PM | ktagen-sudo - University of Colorado Anschutz Medical Campus
RE: Segmentation fault

Yeah building it from scratch with the procedure below seems to have solved the problem.


Thank you so much!


 


1. Untar the compressed tarball file:
tar -xzvf CMTK-3.3.2-Source.tar.gz



2. Rename the package core

mv CMTK-3.3.2-Source.tar.gz core



3. Create build directory and cd:

mkdir build;cd build



4. Load cmake v 3.25.0, gcc v10.3.0 and fftw v3.3.10:

module load cmake gcc/10.3.0 fftw/3.3.10



5. Configure with cmake:

cmake -C ../core/config/gcc-x86_64-sse.cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -
DBUILD_CONTRIB=ON -DBUILD_CONTRIB_MUNGER=ON -
DFFTW_DIR=/curc/sw/install/fftw/3.3.10/gcc/10.3.0 -
DFFTW_INCLUDE_PATH=/curc/sw/install/fftw/3.3.10/gcc/10.3.0/include -
DFFTWD_THREADS_LIB=/curc/sw/install/fftw/3.3.10/gcc/10.3.0/lib/libfftw3_threads.so.3 -
DFFTWD_OMP_LIB=/curc/sw/install/fftw/3.3.10/gcc/10.3.0/lib/libfftw3_omp.so.3 -
DCMAKE_INSTALL_PREFIX=/scratch/alpine/kefo9343/nitrc/build ../core/



6. Run make:

make j 4



7. Install

make install



8. Make package that is compatible with all the specific system versions


cpack -G RPM



9. Go to the bin directory and add the path

cd bin; PATH=${PATH}:$(pwd)



10. Add the PATH to your ~/.bashrc as well

Threaded View

TitleAuthorDate
ktagen-sudo Jun 14, 2023
Torsten Rohlfing Jun 15, 2023
Greg Jefferis Jun 15, 2023
RE: Segmentation fault
ktagen-sudo Jun 15, 2023