Commit 582e0a56 authored by Jesse Mapel's avatar Jesse Mapel Committed by Summer Stapleton
Browse files

Adds CentOS7 build environment (#515)

* Testing environment

* Added CentOS 7 enviroment and test data

* Last CentOS 7 specific truthdata

* cleaned up environment files
parent 702b3586
Loading
Loading
Loading
Loading

environment_gcc4.yml

0 → 100644
+71 −0
Original line number Diff line number Diff line
channels:
  - jessemapel
  - usgs-astrogeology
  - conda-forge
  - probcomp
  - defaults

dependencies:
  - armadillo==8.200.0
  - blas==1.1=openblas
  - bullet==2.86.1=0
  - bz2file==0.98
  - bzip2==1.0.6=1
  - cmake==3.9.1=0
  - cspice==66=h470a237_3
  - curl==7.60.0=0
  - doxygen==1.8.14=0
  - eigen==3.3.3=0
  - embree==2.14.0=0
  - geos==3.5.1
  - geotiff==1.4.2=1
  - gmm==5.0
  - gmp==6.1.2=0
  - gsl==2.2.1=blas_openblas_3
  - hdf5==1.8.18=2
  - icu==58.2=0
  - jama==125
  - jpeg==9b=2
  - kakadu==1
  - krb5==1.14.2=0
  - libpng>=1.6.34
  - libprotobuf==3.5.2
  - libtiff==4.0.9=0
  - libxml2==2.9.7=0
  - make
  - mesalib==17.2.0=0
  - mysql==5.7.20
  - mysql-connector-c==6.1.6=0
  - nanoflann==1.2.2
  - ninja==1.7.2=0
  - nn==1.86.0=2
  # - numpy==1.13.3=py36_blas_openblas_200
  - openblas==0.2.19=2
  - opencv
  - openssl==1.0.2n=0
  - patchelf==0.9
  - pcl==1.8.1
  - pip==9.0.1
  - protobuf==3.5.2
  # - pyqt==5.6.0
  - python==3.6
  - qhull==7.2.0=0
  - qt=5.9.6
  - qwt=6.1.3
  - setuptools=38.5.1
  - sip==4.18
  - sqlite==3.13.0=1
  - suitesparse==4.5.4=blas_openblas_200
  - superlu==5.2.1=blas_openblas_201
  - tnt==126=0
  - wheel==0.30.0
  - x264==20131218
  - xalan-c==1.11
  - xerces-c==3.1.4=0
  - xorg-kbproto==1.0.7=1
  - xorg-libice
  - xorg-libsm
  - xorg-libx11==1.6.4=6
  - xorg-libxi
  - zlib==1.2.11=0
+3 −3
Original line number Diff line number Diff line
@@ -22,8 +22,8 @@ Square Root (sqrt[v1]): [ 1 1.41421 1.73205 ]
Absolute value (-v1): [ 1 2 3 ]
Log (log[v1]): [ 0 0.693147 1.09861 ]
Log10 (log10[v1]): [ 0 0.30103 0.477121 ]
LeftShift (v1<<scalar): [ 3 -nan -nan ]
RightShift (v1>>scalar): [ -nan -nan 1 ]
LeftShift (v1<<scalar): [ 3 nan nan ]
RightShift (v1>>scalar): [ nan nan 1 ]
Min (v1): [ 1 ]
Max (v1): [ 3 ]
GreaterThan (v1>v4): [ 0 0 1 ]
@@ -47,7 +47,7 @@ TangentH (v1): [ 0.761594 0.964028 0.995055 ]
Modulus (v1%v4): [ 1 0 1 ]
Bitwise And (v1,v4): [ 0 2 2 ]
Bitwise Or (v1,v4): [ 3 2 3 ]
Square Root(-1): [ -nan ]
Square Root(-1): [ nan ]
Log(of 0): [ -inf ]
-------------------------------------------------------
**ERROR** When trying to do a left shift calculation, a shift value greater than the data size was encountered. Shifting by this value would erase all of the data.
+1 −12
Original line number Diff line number Diff line
@@ -4,16 +4,9 @@ Testing ls, grep, sed and pipes ...

ProgramLauncher.cpp
ProgramLauncher.h
ProgramLauncher.o
ProgramLauncher.truth
Testing stats ... 

greyscale: Working
0% Processed
10% Processed
20% Processed
30% Processed
40% Processed
50% Processed
60% Processed
70% Processed
80% Processed
90% Processed
100% Processed
hist: Computing min/max for histogram
0% Processed
10% Processed
20% Processed
30% Processed
40% Processed
50% Processed
60% Processed
70% Processed
80% Processed
90% Processed
100% Processed
hist: Gathering histogram
0% Processed
10% Processed
20% Processed
30% Processed
40% Processed
50% Processed
60% Processed
70% Processed
80% Processed
90% Processed
100% Processed
Group = Results
  From                    = unitTest.cub
  Band                    = 1
@@ -55,14 +48,10 @@ That is the reason for the OS specific truth files. Please ignore the exit codes

terminate called after throwing an instance of 'Isis::IException'
  what():  **ERROR** This process (program) was executed by an existing Isis 3 process. However, we failed to establish a communication channel with the parent (launcher) process. The parent process has a PID of [999].
**PROGRAMMER ERROR** Executing command [$ISISROOT/bin/stats from=\$base/testData/ab102401_ideal.cub -pid=999 -preference=\$ISISROOT/src/base/objs/Preference/TestPreferences] failed with return status [6].
**PROGRAMMER ERROR** Executing command [$ISISROOT/bin/stats from=\$base/testData/ab102401_ideal.cub -pid=999 -preference=\$ISISROOT/TestPreferences] failed with return status [6].

Testing using Isis 3 program as a system program without pid... 

stats: Computing min/max for histogram
0% Processed
10% Processed
20% Processed
30% Processed
40% Processed
50% Processed
60% Processed
70% Processed
80% Processed
90% Processed
100% Processed
stats: Gathering histogram
0% Processed
10% Processed
20% Processed
30% Processed
40% Processed
50% Processed
60% Processed
70% Processed
80% Processed
90% Processed
100% Processed
Group = Results
  From                    = unitTest.cub
  Band                    = 1
+48 −0
Original line number Diff line number Diff line
Unit test for TrackingTable


Testing default constructor ...
Record added: fileName1.cub, 1

Testing constructor with a Table object ...
Constructing Table ...
First record : fileName1.cub, 1234567890
Second record: fileName2.cub, 123
Third record : fileName3.dat, 456789
TrackingTable object created

Testing the pixelToFileName method ...
FileName with pixel value 2 does not exist and an exception is thrown.
**PROGRAMMER ERROR** Cannot convert pixel [2] to a filename, pixel is below valid minimum [3].
FileName with pixel value 3: fileName1.cub
FileName with pixel value 4: fileName2.cub
FileName with pixel value 5: fileName3.dat
FileName with pixel value 6 does not exist and an exception is thrown.
**PROGRAMMER ERROR** Cannot convert pixel [6] to a filename, pixel is above valid maximum [6].

Testing the fileNameToPixel method ...
Pixel value of FileName fileName1.cub: 3
Pixel value of FileName fileName2.cub: 4
Pixel value of FileName fileName3.cub: 5
Pixel value of the non-existent FileName fileName4.cub (demonstrating its addition): 6

Testing the toTable method ...
First record : fileName1.cub, 1234567890, 3
Second record: fileName2.cub, 123, 4
Third record : fileName3.dat, 456789, 5
Fourth record: fileName4.cub, 12345678901234567890, 6

Creating a new TrackingTable object with the table returned from toTable method ...
New TrackingTable object created

Verifying that the pixel values are the same ...
Pixel value of FileName fileName1.cub: 3
Pixel value of FileName fileName2.cub: 4
Pixel value of FileName fileName3.cub: 5
Pixel value of FileName fileName4.cub: 6

Testing that the Table returned from toTable on new TrackingTable matches ...
First record : fileName1.cub, 1234567890, 3
Second record: fileName2.cub, 123, 4
Third record : fileName3.dat, 456789, 5
Fourth record: fileName4.cub, 12345678901234567890, 6