diff --git a/README.md b/README.md index 6721061f0252bf7960a3be57683d061ae80d275b..8416e75f6a9596c35f3a1e9584fe049685f218dc 100644 --- a/README.md +++ b/README.md @@ -53,11 +53,20 @@ make Execution ```bash -mpirun -np ${PROCS} ./smg2s.exe -SIZE ${MAT_SIZE} -L ${LOW_BANDWIDTH} -C ${CONTINUOUS_ONES} -SPTR ${GIVEN_SPECTRUM_FILE} +mpirun -np ${PROCS} ./smg2s.exe -SIZE ${MAT_SIZE} -L ${LOW_BANDWIDTH} -C ${CONTINUOUS_ONES} -SPTR ${GIVEN_SPECTRUM_FILE} -mattype ${MATTYPE} -floattype ${FLOATTYPE} -integertype ${INTEGERTYPE} ``` If ${GIVEN_SPECTRUM_FILE} is not given, SMG2S will use the internal eigenvalue generation method to generate a default spectrum. +If ${MATTYPE} is not given, SMG2S will generate the non-Hermitian matrices. If the users want to generate non symmetric matrices, it should be set as "non-sym". + +${FLOATTYPE} and ${INTEGERTYPE} are used define the floating and integer type for the contruction of matrices. + +${FLOATTYPE} can be: DOUBLE, FLOAT, CPLX_DOUBLE and CPLX_FLOAT. + +${INTEGERTYPE} can be: INT and _INT64. + + ### Include files Install the binary file and includes files into ${INSTALL_DIRECTORY} diff --git a/Test_K_Computer.sh b/Test_K_Computer.sh new file mode 100644 index 0000000000000000000000000000000000000000..14299fbd1a0d433450509ffde829a1597d875682 --- /dev/null +++ b/Test_K_Computer.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +echo "===complex double test===" + +yhrun -n 48 -N 2 ./smg2s.exe -SIZE 1000000 -L 10 -C 7 > s48.txt +yhrun -n 96 -N 4 ./smg2s.exe -SIZE 2000000 -L 10 -C 7 > s96.txt +yhrun -n 192 -N 8 ./smg2s.exe -SIZE 4000000 -L 10 -C 7 > s192.txt +yhrun -n 384 -N 16 ./smg2s.exe -SIZE 8000000 -L 10 -C 7 > s384.txt +yhrun -n 768 -N 32 ./smg2s.exe -SIZE 16000000 -L 10 -C 7 > s768.txt +#yhrun -n 1536 -N 64 ./smg2s.exe -SIZE 32000000 -L 10 -C 7 > s1536.txt + +yhrun -n 48 -N 2 ./smg2s.exe -SIZE 16000000 -L 10 -C 7 > w48.txt +yhrun -n 96 -N 4 ./smg2s.exe -SIZE 16000000 -L 10 -C 7 > w96.txt +yhrun -n 192 -N 8 ./smg2s.exe -SIZE 16000000 -L 10 -C 7 > w192.txt +yhrun -n 384 -N 16 ./smg2s.exe -SIZE 16000000 -L 10 -C 7 > w384.txt +yhrun -n 768 -N 32 ./smg2s.exe -SIZE 16000000 -L 10 -C 7 > w768.txt +#yhrun -n 1536 -N 64 ./smg2s.exe -SIZE 16000000 -L 10 -C 7 > w1536.txt + +echo "===Done===" +