Updated 2019-06-21

eigenTest.pbs

#PBS -N eigenTest
#PBS -l nodes=1:ppn=2
#PBS -l pmem=2gb
#PBS -l walltime=3:00
#PBS -q force-6
#PBS -j oe
#PBS -o eigenTest.out

cd $PBS_O_WORKDIR
module load eigen/3.2.4
g++ eigenTest.cc
./a.out

eigenTest.cc ```C++

include

include

using namespace std ; using namespace Eigen ; int main () { cout << " Eigen version : " << EIGEN_MAJOR_VERSION << " . " << EIGEN_MINOR_VERSION << endl ; return 0; }