I recompiled a CNS executable I thought was working but now I see it does not fully compile while building an apptainer image:
making Makefile in source directory
making compiler-test directory in intel-x86_64bit-linux
testing Fortran and C compilers
compiling: gcc -O -DINTEGER='long int' -DCNS_ARCH_TYPE_LINUX
C compiler passes test
compiling: gfortran -fdefault-integer-8 -w -fallow-argument-mismatch -O3 -funroll-loops -ffast-math -march=native -mtune=native
linking: gfortran -w -static-libgfortran
Fortran compiler passes test
making utility programs
make[2]: *** No rule to make target 'compile-utils'. Stop.
make[1]: *** [Makefile:60: utils] Error 2
Still no luck with that error. I tried running haddock with the cns as is and after running one of the examples for an hour, there are still no completed structures.
[2025-06-03 12:31:17] stage 0: 1000 structures remaining, 54 running, 0 completed, 1000 total
[2025-06-03 12:31:17] FIX: Modifying random seed for it 0 structure 1
[2025-06-03 12:31:17] Waiting to restart job...
[2025-06-03 12:31:17] FIX: Modifying random seed for it 0 structure 2
[2025-06-03 12:31:17] Waiting to restart job...
[2025-06-03 12:31:17] FIX: Modifying random seed for it 0 structure 3
[2025-06-03 12:31:17] Waiting to restart job...
[2025-06-03 12:31:17] FIX: Modifying random seed for it 0 structure 4
[2025-06-03 12:31:17] Waiting to restart job...
Would this be as a direct result of the CNS compilation error or could it be something else?
I think I found the issue. I was submitting the jobs using batch submit and sbatch on my HPC but that just wasn’t working. I have it working now using bash and the default queue submission script.
However, eventually, I do want to utilize my HPC fully. Is there a way to do that using bash and the default queue submission method?