Skip to content

RENyunfan/ooqp_group

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OOQP

0 Install gfortran

sudo apt-get install gfortran

1 Install blas

cd blas-3.8.0/BLAS-3.8.0/
gfortran -O3 -c *.f
ar cr libblas.a *.o
sudo cp ./*.a /usr/lib 

2 Install LAPack

cd lapack-3.9.0 

make  -j7
# Then the build may failed: Makefile:463: recipe for target 'znep.out' failed
# You may need try block below a few times until it success.
# BEGIN
ulimit -s 100000
make clean 
make -j7
#END

sudo cp ./liblapack.a /usr/local/lib/

If you meet error, see https://unix.stackexchange.com/questions/428394/lapack-make-fails-recipe-for-target-znep-out-failed-error

3 MA27

./configure
make
sudo make install

4 OOQP

cd OOQP
./configure
make
sudo make install

The terminal output may not look so normal, don’t be nervous, if you see line below after sudo make install, the OOQP is successfully installed.

➜  OOQP sudo make install
/usr/bin/install -c -d /usr/local/include/ooqp	
/usr/bin/install -c ./include/*.h /usr/local/include/ooqp
/usr/bin/install -c -d /usr/local/lib
/usr/bin/install -c ./lib/*.a /usr/local/lib
if [ -d doc-src ]; then cd doc-src; fi; make
make[1]: Entering directory '/home/yunfan/Libs/ooqp_group/OOQP/doc-src'
cp -f ooqp-userguide/ooqp-userguide.pdf ../doc/ooqp-userguide.pdf
pod2text distribution-docs/README.pod > ../README
pod2text distribution-docs/INSTALL.pod > ../INSTALL
pod2text distribution-docs/README_Matlab.pod > ../README_Matlab
pod2text distribution-docs/README_Windows.pod > ../README_Windows
pod2text distribution-docs/COPYRIGHT.pod > ../COPYRIGHT
doxygen
make[1]: doxygen: Command not found
GNUmakefile:38: recipe for target 'reference_manual' failed
make[1]: *** [reference_manual] Error 127
make[1]: Leaving directory '/home/yunfan/Libs/ooqp_group/OOQP/doc-src'
GNUmakefile:102: recipe for target 'install_docs' failed
make: *** [install_docs] Error 2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published