hawk-utils-scripts/monitoring/db/elklikeoutput/compile.sh

8 lines
267 B
Bash

#!/bin/bash
module load gcc/13.1.0
module list
PG_DIR=/quobyte/qb1/hpc34576/hpc34576/postgres
echo "Before running, use \"export LD_LIBRARY_PATH=/quobyte/qb1/hpc34576/hpc34576/postgres/lib:\$LD_LIBRARY_PATH\""
gcc -O3 -I${PG_DIR}/include -L${PG_DIR}/lib poc.c -lpq