Skip to content

Commit a8b34ca

Browse files
committed
fixed errors 9
1 parent 6f1388c commit a8b34ca

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/test-tinker.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,10 @@ jobs:
273273
274274
# Define common flags
275275
LINK_FLAGS="-O3 -fopenmp"
276-
LIBS="-L. -ltinker -lfftw3 -lgomp -lgfortran"
276+
# Fix: Need -lfftw3 AND -lfftw3_threads/-lfftw3_omp for threaded FFT
277+
# On some systems, the threading library is separate
278+
# Order matters: tinker first, then fftw3, then threading libs, then base libs
279+
LIBS="-L. -ltinker -lfftw3 -lfftw3_omp -lfftw3_threads -lgomp -lgfortran -lm"
277280
278281
# 1. Analyze
279282
echo "Building analyze..."

0 commit comments

Comments
 (0)