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

Git Clone URL: https://aur.archlinux.org/s4-git.git (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: https://web.stanford.edu/group/fan/S4/#
Licenses: GPL
Submitter: j-l
Maintainer: j-l
Last Packager: j-l
Votes: 0
Popularity: 0.000000
First Submitted: 2018-09-24 15:20 (UTC)
Last Updated: 2018-09-25 02:34 (UTC)

Required by (0)

Sources (1)

Latest Comments

MarsSeed commented on 2023-07-02 11:12 (UTC)

Please check the changes around Arch openblas and blas-openblas. You might want to decide if it makes sense to switch depends from openblas to blas-openblas. Arch openblas package is incomplete, only blas-openblas carries the full OpenBlas Lapack suite.

Background:

Arch announced on June 14, 2023 a new blas-openblas repo package, which finally offers the full suite of OpenBLAS Lapack, with their blas implementation and corresponding cblas/lapacke interfaces.

lmello commented on 2020-08-13 19:38 (UTC) (edited on 2020-08-13 19:40 (UTC) by lmello)

Hello,

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/RCWA.so] 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

into:

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 (https://web.stanford.edu/group/fan/S4/install.html#compiling-from-source) refer to the file 'Makefile.old'