Reducing the number of threads (using -T 1) speeds up cuda pknotsRG by almost three times.
gcc pknotsRG.o adplib.o rnalib.o \ pknotsRG_energy.o -lreadline -lm -o pknotsRG /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libreadline.so: undefined reference to `PC' /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libreadline.so: undefined reference to `tgetflag' /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libreadline.so: undefined reference to `tgetent' /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libreadline.so: undefined reference to `UP' /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libreadline.so: undefined reference to `tputs' /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libreadline.so: undefined reference to `tgoto' /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libreadline.so: undefined reference to `tgetnum' /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libreadline.so: undefined reference to `BC' /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libreadline.so: undefined reference to `tgetstr' collect2: ld returned 1 exit status
It appears this is a known problem with centos and Red hat linux distributions.
gcc pknotsRG.o adplib.o rnalib.o pknotsRG_energy.o -lreadline -lm -lncurses -o pknotsRG
This is compounded by the fact that pknotsRG's use of memory continues to grow as it outputs this huge file.
./pknotsRG -e 0 -f input_filewill ensure only the best folds are output.
>gc wbl 29 June 2015 GCCCCCGGGCshould give
energy: -4.00 kcal/mol Suboptimal range: [-4.00 kcal/mol - -4.00 kcal/mol] >gc wbl 29 June 2015 GCCCCCGGGC (((....))) (-4.00)but actually fails to display results correctly. Instead it erroneously claims the self binding energy: 0.00 kcal/mol
The RNAfold WebServer agrees the structure for the minimum free energy prediction is
GCCCCCGGGC (((....)))but gives slightly different energy.