Hi, I am Dhruv and I've been trying to execute the script from the MPB Project #1 on the MEEP tutorials website (http://www.simpetus.com/projects.html#mpb_waveguide) but I've been receiving an error message that the library libctlgeom.6.dylib cannot be loaded. After typing "locate libctlgeom", I found that there is a libctlgeom.7.dylib which comes as part of the anaconda libctl-4.5.0 installation. I ran the commands ./configure, make and make install in the libctil-4.5.0 folder, and executed the script to no avail. I'm not sure how I can make the version of libctlgeom from version 7 to 6, so if you have any insights, please let me know. I've also attached a logfile consisting of my error and the results of the locate libctlgeom command below.
Regards, Dhruv
(meep) durgeshs-mbp:~ dsanagaram$ sh meep-strip.sh Traceback (most recent call last): File "meep-strip.py", line 2, in <module> import meep as mp File "/opt/anaconda3/envs/meep/lib/python3.6/site-packages/meep/__init__.py", line 8, in <module> from . import _meep ImportError: dlopen(/opt/anaconda3/envs/meep/lib/python3.6/site-packages/meep/_meep.so, 2): Library not loaded: @rpath/libctlgeom.6.dylib Referenced from: /opt/anaconda3/envs/meep/lib/python3.6/site-packages/meep/_meep.so Reason: image not found (meep) durgeshs-mbp:~ dsanagaram$ locate libctlgeom /Users/dsanagaram/libctl/libctl-3.2.2/utils/.libs/libctlgeom.a /Users/dsanagaram/libctl/libctl-3.2.2/utils/.libs/libctlgeom.la /Users/dsanagaram/libctl/libctl-3.2.2/utils/.libs/libctlgeom.lai /Users/dsanagaram/libctl/libctl-3.2.2/utils/libctlgeom.la /Users/dsanagaram/libctl-3.2.2/utils/.libs/libctlgeom.a /Users/dsanagaram/libctl-3.2.2/utils/.libs/libctlgeom.la /Users/dsanagaram/libctl-3.2.2/utils/.libs/libctlgeom.lai /Users/dsanagaram/libctl-3.2.2/utils/libctlgeom.la /opt/anaconda3/envs/meep/lib/libctlgeom.7.dylib /opt/anaconda3/envs/meep/lib/libctlgeom.dylib /opt/anaconda3/pkgs/libctl-4.2.0-h1de35cc_0/lib/libctlgeom.7.dylib /opt/anaconda3/pkgs/libctl-4.2.0-h1de35cc_0/lib/libctlgeom.dylib /opt/anaconda3/pkgs/libctl-4.5.0-h0b31af3_1/lib/libctlgeom.7.dylib /opt/anaconda3/pkgs/libctl-4.5.0-h0b31af3_1/lib/libctlgeom.dylib /usr/local/lib/libctlgeom.a /usr/local/lib/libctlgeom.la (meep) durgeshs-mbp:~ dsanagaram$ conda list # packages in environment at /opt/anaconda3/envs/meep: # # Name Version Build Channel blas 1.1 openblas conda-forge ca-certificates 2020.6.20 hecda079_0 conda-forge certifi 2020.6.20 py36h9f0ad1d_0 conda-forge dlib 19.20 py36hb855451_1 conda-forge fftw 3.3.8 nompi_h5c49c53_1109 conda-forge gsl 2.2.1 blas_openblashddceaf2_6 [blas_openblas] conda-forge h5utils 1.13 4 chogan harminv 1.4.1 hec59403_1004 conda-forge hdf5 1.10.1 2 conda-forge jpeg 9d h0b31af3_0 conda-forge libblas 3.8.0 11_openblas conda-forge libcblas 3.8.0 11_openblas conda-forge libctl 4.5.0 h0b31af3_1 conda-forge libcxx 10.0.0 h1af66ff_2 conda-forge libffi 3.2.1 h4a8c4bd_1007 conda-forge libgfortran 3.0.1 0 conda-forge liblapack 3.8.0 11_openblas conda-forge libopenblas 0.3.6 hdc02c5d_2 libpng 1.6.37 hbbe82c9_1 conda-forge llvm-openmp 10.0.0 h28b9765_0 conda-forge mpb 1.6.1 0 chogan ncurses 6.1 h0a44026_1002 conda-forge numpy 1.15.4 py36_blas_openblash4251c03_1000 [blas_openblas] conda-forge openblas 0.3.3 hdc02c5d_1001 conda-forge openssl 1.1.1g h0b31af3_0 conda-forge pip 20.1.1 py_1 conda-forge pymeep 1.4.3 py36_1 chogan python 3.6.10 h4334963_1011_cpython conda-forge python_abi 3.6 1_cp36m conda-forge readline 8.0 hcfe32e1_0 conda-forge setuptools 47.3.1 py36h9f0ad1d_0 conda-forge sqlite 3.30.1 h93121df_0 conda-forge tk 8.6.10 hbbe82c9_0 conda-forge wheel 0.34.2 py_1 conda-forge xz 5.2.5 h0b31af3_0 conda-forge zlib 1.2.11 h0b31af3_1006 conda-forge (meep) durgeshs-mbp:~ dsanagaram$
_______________________________________________ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss