Package Details: s4-git r206.7fd00a2-1

Git Clone URL: (read-only, click to copy)
Package Base: s4-git
Description: S4 (or simply S4) stands for Stanford Stratified Structure Solver, a frequency domain code to solve the linear Maxwell’s equations in layered periodic structures.
Upstream URL:
Licenses: GPL
Submitter: j-l
Maintainer: j-l
Last Packager: j-l
Votes: 0
Popularity: 0.000000
First Submitted: 2018-09-24 15:20
Last Updated: 2018-09-25 02:34

Latest Comments

lmello commented on 2020-08-13 19:38


I can't compile it with this PKGBUILD

gcc -c -O2 -fpic -Wall -I. modules/predicates.c -o build/modules/mod_predicates.o /usr/bin/ld: cannot find -lS4 collect2: error: ld returned 1 exit status make: *** [Makefile.common:128: build/] Error 1

Which is odd, because if I manually clone the source, make the same build() non-commented edits:

sed -i '/^CPPFLAGS/ s@$@ -DHAVE_UNISTD_H -lpthread@' ./Makefile.common sed -i '/^CPPFLAGS/ s@$@ -DHAVE_FFTW3 -lfftw3@' ./Makefile.common

which turn this line:

CPPFLAGS += -IS4 -IS4/RNP -IS4/kiss_ff


CPPFLAGS += -IS4 -IS4/RNP -IS4/kiss_fft -DHAVE_UNISTD_H -lpthread -DHAVE_FFTW3 -lfftw3

in Makefile.common, I'm able to compile the software with 'make'!

I've got openblas, suitesparse and fftw installed. BTW, I noticed that in the git repo most of the installation instructions in the project website ( refer to the file 'Makefile.old'