HomerReid / scuff-em

A comprehensive and full-featured computational physics suite for boundary-element analysis of electromagnetic scattering, fluctuation-induced phenomena (Casimir forces and radiative heat transfer), nanophotonics, RF device engineering, electrostatics, and more. Includes a core library with C++ and python APIs as well as many command-line applications.
http://www.homerreid.com/scuff-em
GNU General Public License v2.0
126 stars 50 forks source link

scuff-scatter command not found #204

Closed xygao96 closed 5 years ago

xygao96 commented 5 years ago

Hi all,

I am a new user of scuff-em. I installed scuff-em in ubuntu 18.04 yesterday and during the installation I met the same problem related to hdf5 as mentioned in issue#66. And I tried to resolve this problem following #91, using the command: sh autogen.sh --with-hdf5-includedir="/usr/include/hdf5/serial" --with-hdf5-libdir=/usr/lib/x86_64-linux-gnu/hdf5/serial.

With this command, the configure process was done successfully. But when I did 'make check' , there was still one error, as shown in the bottom code. I ignored this error and did 'sudo make install'. However, after finishing installation, I went to the /home/xingyu/scuff-install2/share/scuff-em/examples/CubeTorus to make the test in the command line as: scuff-analyze --geometry CubeTorus.scuffgeo --TransFile CubeTorus.trans and it showed: scuff-analyze command not found.

And I found other scuff command like scuff-cas3D also did not work. Could you help me on this? Thanks so much.

Xingyu

make[1]: Entering directory '/home/xingyu/scuff-em/libs' Making check in libhrutil make[2]: Entering directory '/home/xingyu/scuff-em/libs/libhrutil' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/libs/libhrutil' Making check in libhmat make[2]: Entering directory '/home/xingyu/scuff-em/libs/libhmat' make check-am make[3]: Entering directory '/home/xingyu/scuff-em/libs/libhmat' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/home/xingyu/scuff-em/libs/libhmat' make[2]: Leaving directory '/home/xingyu/scuff-em/libs/libhmat' Making check in libSGJC make[2]: Entering directory '/home/xingyu/scuff-em/libs/libSGJC' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/libs/libSGJC' Making check in libMDInterp make[2]: Entering directory '/home/xingyu/scuff-em/libs/libMDInterp' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/libs/libMDInterp' Making check in libMatProp make[2]: Entering directory '/home/xingyu/scuff-em/libs/libMatProp' Making check in cmatheval make[3]: Entering directory '/home/xingyu/scuff-em/libs/libMatProp/cmatheval' make[3]: Nothing to be done for 'check'. make[3]: Leaving directory '/home/xingyu/scuff-em/libs/libMatProp/cmatheval' make[3]: Entering directory '/home/xingyu/scuff-em/libs/libMatProp' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/home/xingyu/scuff-em/libs/libMatProp' make[2]: Leaving directory '/home/xingyu/scuff-em/libs/libMatProp' Making check in libTriInt make[2]: Entering directory '/home/xingyu/scuff-em/libs/libTriInt' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/libs/libTriInt' Making check in libSpherical make[2]: Entering directory '/home/xingyu/scuff-em/libs/libSpherical' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/libs/libSpherical' Making check in libIncField make[2]: Entering directory '/home/xingyu/scuff-em/libs/libIncField' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/libs/libIncField' Making check in libSubstrate make[2]: Entering directory '/home/xingyu/scuff-em/libs/libSubstrate' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/libs/libSubstrate' Making check in libStaticSolver make[2]: Entering directory '/home/xingyu/scuff-em/libs/libStaticSolver' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/libs/libStaticSolver' Making check in libscuffSolver make[2]: Entering directory '/home/xingyu/scuff-em/libs/libscuffSolver' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/libs/libscuffSolver' Making check in libscuff make[2]: Entering directory '/home/xingyu/scuff-em/libs/libscuff' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/libs/libscuff' Making check in python make[2]: Entering directory '/home/xingyu/scuff-em/libs/python' make check-am make[3]: Entering directory '/home/xingyu/scuff-em/libs/python' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/home/xingyu/scuff-em/libs/python' make[2]: Leaving directory '/home/xingyu/scuff-em/libs/python' make[2]: Entering directory '/home/xingyu/scuff-em/libs' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/home/xingyu/scuff-em/libs' make[1]: Leaving directory '/home/xingyu/scuff-em/libs' Making check in applications make[1]: Entering directory '/home/xingyu/scuff-em/applications' Making check in scuff-analyze make[2]: Entering directory '/home/xingyu/scuff-em/applications/scuff-analyze' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/applications/scuff-analyze' Making check in scuff-caspol make[2]: Entering directory '/home/xingyu/scuff-em/applications/scuff-caspol' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/applications/scuff-caspol' Making check in scuff-cas3D make[2]: Entering directory '/home/xingyu/scuff-em/applications/scuff-cas3D' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/applications/scuff-cas3D' Making check in scuff-ldos make[2]: Entering directory '/home/xingyu/scuff-em/applications/scuff-ldos' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/applications/scuff-ldos' Making check in scuff-neq make[2]: Entering directory '/home/xingyu/scuff-em/applications/scuff-neq' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/applications/scuff-neq' Making check in scuff-plotEpsMu make[2]: Entering directory '/home/xingyu/scuff-em/applications/scuff-plotEpsMu' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/applications/scuff-plotEpsMu' Making check in scuff-rf make[2]: Entering directory '/home/xingyu/scuff-em/applications/scuff-rf' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/applications/scuff-rf' Making check in scuff-scatter make[2]: Entering directory '/home/xingyu/scuff-em/applications/scuff-scatter' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/applications/scuff-scatter' Making check in scuff-spectrum make[2]: Entering directory '/home/xingyu/scuff-em/applications/scuff-spectrum' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/applications/scuff-spectrum' Making check in scuff-static make[2]: Entering directory '/home/xingyu/scuff-em/applications/scuff-static' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/applications/scuff-static' Making check in scuff-tmatrix make[2]: Entering directory '/home/xingyu/scuff-em/applications/scuff-tmatrix' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/applications/scuff-tmatrix' Making check in scuff-transmission make[2]: Entering directory '/home/xingyu/scuff-em/applications/scuff-transmission' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/applications/scuff-transmission' make[2]: Entering directory '/home/xingyu/scuff-em/applications' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/home/xingyu/scuff-em/applications' make[1]: Leaving directory '/home/xingyu/scuff-em/applications' Making check in examples make[1]: Entering directory '/home/xingyu/scuff-em/examples' Making check in DiffractionPatterns make[2]: Entering directory '/home/xingyu/scuff-em/examples/DiffractionPatterns' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/examples/DiffractionPatterns' Making check in CorrugatedDisc make[2]: Entering directory '/home/xingyu/scuff-em/examples/CorrugatedDisc' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/examples/CorrugatedDisc' Making check in CubeTorus make[2]: Entering directory '/home/xingyu/scuff-em/examples/CubeTorus' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/examples/CubeTorus' Making check in GetTMatrix make[2]: Entering directory '/home/xingyu/scuff-em/examples/GetTMatrix' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/examples/GetTMatrix' Making check in HalfSpaceLDOS make[2]: Entering directory '/home/xingyu/scuff-em/examples/HalfSpaceLDOS' Making check in mshFiles make[3]: Entering directory '/home/xingyu/scuff-em/examples/HalfSpaceLDOS/mshFiles' make[3]: Nothing to be done for 'check'. make[3]: Leaving directory '/home/xingyu/scuff-em/examples/HalfSpaceLDOS/mshFiles' Making check in scuffgeoFiles make[3]: Entering directory '/home/xingyu/scuff-em/examples/HalfSpaceLDOS/scuffgeoFiles' make[3]: Nothing to be done for 'check'. make[3]: Leaving directory '/home/xingyu/scuff-em/examples/HalfSpaceLDOS/scuffgeoFiles' make[3]: Entering directory '/home/xingyu/scuff-em/examples/HalfSpaceLDOS' make[3]: Nothing to be done for 'check-am'. make[3]: Leaving directory '/home/xingyu/scuff-em/examples/HalfSpaceLDOS' make[2]: Leaving directory '/home/xingyu/scuff-em/examples/HalfSpaceLDOS' Making check in ImplicitSubstrate make[2]: Entering directory '/home/xingyu/scuff-em/examples/ImplicitSubstrate' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/examples/ImplicitSubstrate' Making check in MicrostripDevices make[2]: Entering directory '/home/xingyu/scuff-em/examples/MicrostripDevices' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/examples/MicrostripDevices' Making check in NanorodResonantModes make[2]: Entering directory '/home/xingyu/scuff-em/examples/NanorodResonantModes' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/examples/NanorodResonantModes' Making check in PaulTrap make[2]: Entering directory '/home/xingyu/scuff-em/examples/PaulTrap' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/examples/PaulTrap' Making check in PlateWithHole make[2]: Entering directory '/home/xingyu/scuff-em/examples/PlateWithHole' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/examples/PlateWithHole' Making check in PerforatedThinFilm make[2]: Entering directory '/home/xingyu/scuff-em/examples/PerforatedThinFilm' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/examples/PerforatedThinFilm' Making check in PlatonicSolids make[2]: Entering directory '/home/xingyu/scuff-em/examples/PlatonicSolids' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/examples/PlatonicSolids' Making check in SiO2Spheres make[2]: Entering directory '/home/xingyu/scuff-em/examples/SiO2Spheres' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/examples/SiO2Spheres' Making check in SiliconBeams make[2]: Entering directory '/home/xingyu/scuff-em/examples/SiliconBeams' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/examples/SiliconBeams' Making check in SolidSphere make[2]: Entering directory '/home/xingyu/scuff-em/examples/SolidSphere' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/examples/SolidSphere' Making check in SphericalShell make[2]: Entering directory '/home/xingyu/scuff-em/examples/SphericalShell' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/examples/SphericalShell' Making check in StriplineCapacitor make[2]: Entering directory '/home/xingyu/scuff-em/examples/StriplineCapacitor' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/examples/StriplineCapacitor' Making check in ThinFilm make[2]: Entering directory '/home/xingyu/scuff-em/examples/ThinFilm' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/examples/ThinFilm' Making check in TwoBodyCapacitors make[2]: Entering directory '/home/xingyu/scuff-em/examples/TwoBodyCapacitors' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/examples/TwoBodyCapacitors' Making check in WireAntenna make[2]: Entering directory '/home/xingyu/scuff-em/examples/WireAntenna' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/examples/WireAntenna' Making check in YagiUdaAntennas make[2]: Entering directory '/home/xingyu/scuff-em/examples/YagiUdaAntennas' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/xingyu/scuff-em/examples/YagiUdaAntennas' make[2]: Entering directory '/home/xingyu/scuff-em/examples' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/home/xingyu/scuff-em/examples' make[1]: Leaving directory '/home/xingyu/scuff-em/examples' Making check in tests make[1]: Entering directory '/home/xingyu/scuff-em/tests' Making check in Mie make[2]: Entering directory '/home/xingyu/scuff-em/tests/Mie' make check-TESTS make[3]: Entering directory '/home/xingyu/scuff-em/tests/Mie' make[4]: Entering directory '/home/xingyu/scuff-em/tests/Mie' FAIL: TestMie.sh


Testsuite summary for scuff-em 0.96


TOTAL: 1 PASS: 0 SKIP: 0 XFAIL: 0 FAIL: 1 XPASS: 0 ERROR: 0


See tests/Mie/test-suite.log Please report to homer@homerreid.com


Makefile:639: recipe for target 'test-suite.log' failed make[4]: [test-suite.log] Error 1 make[4]: Leaving directory '/home/xingyu/scuff-em/tests/Mie' Makefile:745: recipe for target 'check-TESTS' failed make[3]: [check-TESTS] Error 2 make[3]: Leaving directory '/home/xingyu/scuff-em/tests/Mie' Makefile:818: recipe for target 'check-am' failed make[2]: [check-am] Error 2 make[2]: Leaving directory '/home/xingyu/scuff-em/tests/Mie' Makefile:518: recipe for target 'check-recursive' failed make[1]: [check-recursive] Error 1 make[1]: Leaving directory '/home/xingyu/scuff-em/tests' Makefile:487: recipe for target 'check-recursive' failed make: *** [check-recursive] Error 1

xygao96 commented 5 years ago

I solved it by add export PATH=/home/xingyu/scuff-install2/bin:$PATH export LD_LIBRARY_PATH=/home/xingyu/scuff-install2/lib:$LD_LIBRARY_PATH to ~/.bashrc file