QEta installation¶
Requirement FriCAS¶
QEta is built on FriCAS. If you do not yet have it follow the instructions at FriCAS Installation for an installation in a Linux environment.
Installation steps for the QEta package¶
Clone the git repository and compile the sources.
FDIR=$HOME/fricas
mkdir -p $FDIR
cd $FDIR
git clone https://github.com/hemmecke/qeta.git
cd $FDIR/qeta
make compile-spad
(optional) Adapt some directories¶
Adapt directories in the test files (extension .input-test
) so
that they match your setting.
This is only needed if you intend to work with these test/demo files. These files belong to the QEta testsuite, but might be interesting to look into if you want to learn how to call some command.
FDIR=$HOME/fricas
q="$FDIR/qeta"
cd $q
for f in $(ls test/*.input-test); do \
echo $f; \
sed -i "s|^)read /home/.*jfricas-test-support.*|)read $q/input/jfricas-test-support.input )quiet|" $f; \
done
sed -i "s|^)cd g/qeta/tmp|)cd $q/tmp|" $q/input/jfricas-test-support.input
Look, for example, into RogersRamanujanContinuedFraction.input-test where we show that for the Rogers-Ramanujan continued fraction
we have the identity
where \(U_5\) is the operator that acts as follows:
(optional) Install SageMath¶
QEta uses a command (run from the terminal)
make LEVELS='6 9' er
to compute relations among eta quotients of certain levels. QEta employs the Gröbner engine (slimgb) of the Singular computer algebra system through its SageMath interface, since this seems to be more efficient than the built-in FriCAS Gröbner engine.
Inside a FriCAS session QEta does not (yet) reach out to call function from SageMath, i.e. installation of SageMath is not strictly needed and may just consume diskspace on your computer. The following command may take 20 min to complete.
apt install sagemath