Comments (4)
I had this error too, even after adding the libraries
code as suggested above to gensetup.py.sh
. The other thing I was missing, I think: I didn't run make clean
, so the old incorrect files were messing me up.
In other words, the whole process is:
$ make clean
$ make
$ make S4_pyext
$ sudo python setup.py install
I think you really need all four steps, but I was often stupidly skipping the first and/or last. Once I figured that out, I could fix the error.
from s4.
In the genstup.py.sh file add the libraries needed.
file: gensetup.py.sh:16
#Code
libraries = [
'S4',
'stdc++',
'lapack',
'blas',
'gfortran',
'fftw3' #Optional if you have it in the Makefile
],
If you have the libraries located out of your path modified also the library_dirs variable
from s4.
I tried that. It still gives the same error.
from s4.
I modified the Makefile and the gensetup.py.sh to automatically take into account the optional libraries in the Makefile on this fork, seems to work pretty nice. Going to as for a PR
from s4.
Related Issues (20)
- About the S4 installation HOT 4
- Aperiodic Structure With PML HOT 4
- How to use real dielectric constant of the material?
- Is there a way to implement a layer with pixelized refractive index distribution in S4?
- Which function can be used to set the incident plane wave to be circularly polarized? HOT 2
- Could S4 do interference simulation?
- Cannot produce simple Talbot carpet HOT 2
- Cannot execute S4 after installation HOT 2
- Layers with different lattice vectors HOT 2
- A problem of "SetLayerPatternPolygon" HOT 1
- Scattering Matrix
- Installation Problem in M2 Max
- Python API: Error while setting excitation wave
- Creating a model with different refractive index along the wavelength HOT 1
- Multi-threading/Muti-processing HOT 2
- Angle orientation
- Adaptive fequency sampling HOT 1
- Installation for Windows HOT 2
- Cannot implement "make S4lua " HOT 1
- Pyramidal Structure HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from s4.