get info with LDD
@@ -34,6 +34,9 @@ before_install:
- tar -xvf /tmp/smarts.tar.gz
- export SMARTSPATH=$PWD/SMARTS_295_Linux
+# ID dependencies of existing smarts295bat
+ - ldd /home/travis/build/NREL/bifacial_radiance/SMARTS_295_Linux/smarts295bat
+ - ldd /home/travis/build/NREL/bifacial_radiance/SMARTS_295_Linux/smarts295.inp.txt
# Try compiling from source
- unlink /home/travis/build/NREL/bifacial_radiance/SMARTS_295_Linux/smarts295bat
- sed -i 's/batch=.FALSE./batch=.TRUE./g' $PWD/SMARTS_295_Linux/Source_code/smarts295.f
@@ -41,7 +44,8 @@ before_install:
# - fort77 -Nn1604 -o $PWD/SMARTS_295_Linux/smarts295bat $PWD/SMARTS_295_Linux/Source_code/smarts295.f
- sudo apt-get install gfortran
- gfortran -o $PWD/SMARTS_295_Linux/smarts295bat $PWD/SMARTS_295_Linux/Source_code/smarts295.f
- - echo | $PWD/SMARTS_295_Linux/smarts295bat
+# - echo | $PWD/SMARTS_295_Linux/smarts295bat
+ - ldd $PWD/SMARTS_295_Linux/smarts295bat
- ls -l $PWD/SMARTS_295_Linux
- ls -l $PWD/SMARTS_295_Linux/Source_code
