AppendixG:InstallingOctave
895
AppendixG InstallingOctave
TheprocedureforinstallingOctavefromsource onaUnix-likesystemisdescribednext.
Buildingonother platforms willfollowsimilar steps. . Note e that this description applies
toOctavereleases. BuildingthedevelopmentsourcesfromtheMercurialarchiverequires
additionalstepsasdescribedinSectionD.2[BuildingtheDevelopmentSources],page881.
G.1 BuildDependencies
Octaveisafairlylargeprogramwithmanybuilddependencies. Youmaybeabletofind
pre-packagedversionsofthedependenciesdistributedaspartofyoursystem,oryoumay
havetobuildsomeorallofthemyourself.
G.1.1 ObtainingtheDependenciesAutomatically
OnsomesystemsyoucanobtainmanyofOctave’sbuilddependenciesautomatically.The
commands fordoingthisvary by system. . Similarly,thenamesofpre-compiledpackages
varybysystemanddonotalwaysmatchexactlythenameslistedinSectionG.1.2[Build
Tools],page895andSectionG.1.3[ExternalPackages],page896.
Youwillusuallyneedthedevelopmentversionofanexternaldependencysothatyouget
thelibraries andheader files for buildingsoftware,notjust for runningalreadycompiled
programs. Thesepackagestypicallyhavenamesthatendwiththesuffix-devor-devel.
Onsystems withapt-get(Debian,Ubuntu, , etc.),youmay y beabletoinstallmost of
thetoolsandexternalpackagesusingacommandsimilarto
apt-get build-dep octave
Thespecificpackagenamemaybeoctave3.2oroctave3.4. Thesetofrequiredtoolsand
externaldependenciesdoesnot change frequently,soitis notimportant thattheversion
matchexactly,butyoushouldusethemostrecentoneavailable.
Onsystems withyum (Fedora,RedHat, , etc.),youmay y beabletoinstallmost ofthe
toolsandexternalpackagesusingacommandsimilarto
yum-builddep octave
Theyum-builddeputilityispartoftheyum-utilspackage.
Foreithertypeofsystem,thepackagenamemayincludeaversionnumber. Thesetof
requiredtoolsandexternaldependenciesdoesnotchangefrequently,soitisnotimportant
thattheversionexactlymatchtheversionyouareinstalling,butyoushouldusethemost
recentoneavailable.
G.1.2 BuildTools
Thefollowingtoolsarerequired:
C++,C,andFortrancompilers
The Octavesourcesare primarilywritteninC++,butsomeportionsare also
writtenin C andFortran. . The e Octavesources are intended tobe portable.
RecentversionsoftheGNUcompilercollection(GCC)shouldwork(http://
gcc.gnu.org). IfyouuseGCC,youshouldavoidmixingversions.Forexample,
besurethatyouarenotusingtheobsoleteg77Fortrancompilerwithmodern
versionsofgccandg++.
Pdf will no pages selected - Split, seperate PDF into multiple files in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Explain How to Split PDF Document in Visual C#.NET Application
acrobat split pdf; pdf format specification
Pdf will no pages selected - VB.NET PDF File Split Library: Split, seperate PDF into multiple files in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
VB.NET PDF Document Splitter Control to Disassemble PDF Document
add page break to pdf; break pdf
896
GNUOctave
GNUMake
Toolforbuildingsoftware(http://www.gnu.org/software/make). Octave’s
buildsystemrequiresGNUMake. OtherversionsofMakewillnotwork. For-
tunately,GNUMakeishighlyportableandeasytoinstall.
AWK,sed,andotherUnixutilities
BasicUnixsystemutilitiesarerequiredforbuildingOctave.Allwillbeavailable
with any y modernUnix x system and also o onWindows with either Cygwin or
MinGWandMSYS.
Additionally,thefollowingtoolsmaybeneeded:
Bison
Parser generator r (http://www.gnu.org/software/bison). . You u will need
Bisonifyoumodifytheoct-parse.yysourcefileorifyoudeletethefilesthat
aregeneratedfromit.
Flex
Lexeranalyzer(http://www.gnu.org/software/flex). YouwillneedFlexif
youmodifythelex.llsourcefileorifyoudeletethefiles thataregenerated
fromit.
Autoconf Package e for software configuration n (http://www.gnu.org/software/
autoconf). AutoconfisrequiredifyoumodifyOctave’sconfigure.acfileor
otherfilesthatitrequires.
Automake PackageforMakefilegeneration(http://www.gnu.org/software/automake).
Automake isrequiredif youmodify Octave’s Makefile.am files or other files
thattheydependon.
Libtool
Package for building g software e libraries (http://www.gnu.org/software/
libtool).LibtoolisrequiredbyAutomake.
gperf
Perfecthashfunctiongenerator(http://www.gnu.org/software/gperf).You
willneedgperfifyoumodifytheoctave.gperffileorifyoudeletethefilethat
isgeneratedfromit.
Texinfo
Packageforgeneratingonlineandprintdocumentation(http://www.gnu.org/
software/texinfo). YouwillneedTexinfotobuildOctave’sdocumentation
orifyoumodifythedocumentationsourcefilesorthedocstringofanyOctave
function.
G.1.3 ExternalPackages
Thefollowingexternalpackagesarerequired:
BLAS
Basic Linear Algebra Subroutine library. . Accelerated d blas s libraries s such as
OpenBLAS(http://www.openblas.net/)orATLAS(http://math-atlas.
sourceforge.net)arerecommendedforbestperformance. Thereferenceim-
plementation (http://www.netlib.org/blas) is slow, unmaintained, and
suffersfromcertainbugsincornercaseinputs.
LAPACK
LinearAlgebraPackage(http://www.netlib.org/lapack).
PCRE
ThePerlCompatibleRegularExpressionlibrary(http://www.pcre.org).
Thefollowingexternalpackageisoptionalbutstronglyrecommended:
VB.NET TWAIN: TWAIN Image Scanning in Console Application
First, there is no SelectSourceDialog in VB.NET TWAIN console Here we will illustrate the benefits of this VB.NET how to scan multiple pages to one PDF or TIFF
break pdf into multiple pages; break pdf into pages
VB.NET PowerPoint: Convert & Render PPT into PDF Document
on and VB.NET PDF editing add-on will be used. As our VB.NET PowerPoint to PDF conversion add-on and edit .pptx document file independently, no other external
pdf no pages selected; break a pdf
AppendixG:InstallingOctave
897
GNUReadline
Command-lineeditinglibrary(www.gnu.org/s/readline).
If you wish h to o build d Octave without GNU readline e installed, you u must use the
--disable-readlineoptionwhenrunningtheconfigurescript.
Thefollowingexternalsoftwarepackagesareoptionalbutrecommended:
ARPACK
Library for the solution n of large-scale eigenvalue e problems (http://forge.
scilab.org/index.php/p/arpack-ng). arpackis s required d to provide the
functionseigsandsvds.
cURL
LibraryfortransferringdatawithURLsyntax(http://curl.haxx.se).cURL
isrequiredtoprovidetheurlreadandurlwritefunctionsandtheftpclass.
FFTW3
Libraryfor computingdiscrete Fourier transforms(http://www.fftw.org).
FFTW3isusedtoprovidebetterperformanceforfunctionsthatcomputedis-
creteFouriertransforms(fft,ifft,fft2,etc.)
FLTK
Portable GUItoolkit (http://www.fltk.org). . FLTK K is currently used to
providewindowsforOctave’sOpenGL-basedgraphicsfunctions.
fontconfig Library y for r configuring g and customizing g font access (http:/ / www .
freedesktop.org/wiki/Software/fontconfig). Fontconfig g is used to
managefontsforOctave’sOpenGL-basedgraphicsfunctions.
FreeType Portablefontengine(http://www.freetype.org). . FreeTypeisusedtoper-
formfontrenderingforOctave’sOpenGL-basedgraphicsfunctions.
GLPK
GNU Linear r Programming Kit (http://www.gnu.org/software/glpk).
GPLKisrequiredforthefunctionglpk.
gl2ps
OpenGLtoPostScriptprintinglibrary(http://www.geuz.org/gl2ps/). gl2ps
isrequiredforprintingwhenusingtheFLTKtoolkit.
gnuplot
Interactive graphics program (http://www.gnuplot.info). . gnuplot t is cur-
rentlythedefaultgraphicsrendererforOctave.
GraphicsMagick++
Imageprocessinglibrary(http://www.graphicsmagick.org). GraphicsMag-
ick++isusedtoprovidetheimreadandimwritefunctions.
HDF5
Library for r manipulating portable e data a files (http://www.hdfgroup.org/
HDF5). hdf5is s requiredforOctave’s load andsave commands toreadand
writeHDFdatafiles.
JavaDevelopmentKit
Javaprogramminglanguage compiler andlibraries. . The e OpenJDK free soft-
wareimplementationisrecommended(http://openjdk.java.net/),although
otherJDKimplementationsmaywork. JavaisrequiredtobeabletocallJava
functionsfromwithinOctave.
LLVM
Compilerframework,(http://www.llvm.org). LLVMisrequiredforOctave’s
experimentaljust-in-time(JIT)compilationforspeedinguptheinterpreter.
C# Image: Create C#.NET Windows Document Image Viewer | Online
C# Windows Document Image Viewer Features. No need for viewing multiple document & image formats (PDF, MS Word The following list will give you a broad overview
cannot print pdf no pages selected; acrobat split pdf bookmark
VB.NET Word: Use VB.NET Code to Convert Word Document to TIFF
VB.NET Word to TIFF image converting application, no external Word free to contact us and we will offer you more user guides with RasteEdge .NET PDF SDK using
break up pdf file; pdf split pages
898
GNUOctave
OpenGL
API for r portable e 2-D and d 3-D D graphics (http://www.opengl.org). . An
OpenGLimplementationisrequiredtoprovideOctave’sOpenGL-basedgraph-
ics functions. . Octave’s s OpenGL-basedgraphics functions usuallyoutperform
the gnuplot-based graphics s functions s because plot data can n be e rendered d di-
rectlyinsteadofsendingdataandcommandstognuplotforinterpretationand
rendering.
Qhull
Computationalgeometrylibrary(http://www.qhull.org). Qhullisrequired
toprovidethefunctionsconvhull,convhulln,delaunay,delaunayn,voronoi,
andvoronoin.
QRUPDATE
QR factorization updating library (http://sourceforge.net/projects/
qrupdate).QRUPDATEisusedtoprovideimprovedperformanceforthefunc-
tionsqrdelete,qrinsert,qrshift,andqrupdate.
QScintilla Sourcecodehighlighterandmanipulator;aQtportofScintilla(http://www.
riverbankcomputing.co.uk/software/qscintilla). QScintillais s usedfor
syntaxhighlightingandcodecompletionintheGUI.
Qt
GUIandutilitylibraries(). Qtis s requiredforbuildingtheGUI.Itisalarge
framework,buttheonlycomponentsrequiredaretheGUI,core,andnetwork
modules.
SuiteSparse
Sparsematrix factorizationlibrary (http://www.cise.ufl.edu/research/
sparse/SuiteSparse). SuiteSparseisrequiredtoprovide e sparsematrix fac-
torizationsandsolutionoflinearequationsforsparsesystems.
zlib
Data compressionlibrary (http://zlib.net). . The e zlib library is s required
forOctave’s loadandsave commands to handlecompresseddata,including
matlabv5MATfiles.
G.2 RunningConfigureandMake
 Runthe e shellscript t configure. . This s will determine e the features your system has
(or doesn’t have) and create e a a file named d Makefile from m each of the files s named
Makefile.in.
Hereisasummaryoftheconfigureoptionsthataremostfrequentlyusedwhenbuilding
Octave:
--help
Printasummaryoftheoptionsrecognizedbytheconfigurescript.
--prefix=prefix
InstallOctaveinsubdirectoriesbelowprefix.Thedefaultvalueofprefixis
/usr/local.
--srcdir=dir
LookforOctavesourcesinthedirectorydir.
--enable-64
This is an experimental option to o enable e Octave to use 64-bit integers
for array y dimensions and indexing on 64-bit platforms. . You u probably
C# HTML5 PDF Viewer SDK deployment on IIS in .NET
This page will navigate users how to deploy HTML5 PDF to the place where you store XDoc.PDF.HTML5 Viewer The site configured in IIS has no sufficient authority
cannot select text in pdf; can't cut and paste from pdf
VB.NET PDF - VB.NET HTML5 PDF Viewer Deployment on IIS
This page will navigate users how to deploy HTML5 PDF to the place where you store XDoc.PDF.HTML5 Viewer The site configured in IIS has no sufficient authority
cannot print pdf file no pages selected; pdf separate pages
AppendixG:InstallingOctave
899
don’t wanttouse this optionunless youknowwhat youare doing. . See
SectionG.3[CompilingOctavewith64-bitIndexing],page902,formore
detailsaboutbuildingOctavewiththisoption.
--enable-bounds-check
Enableboundscheckingforindexingoperatorsintheinternalarrayclasses.
ThisoptionisprimarilyusedfordebuggingOctave.BuildingOctavewith
thisoptionhasanegativeimpactonperformanceandisnotrecommended
forgeneraluse.
--disable-docs
Disablebuildingallformsofthedocumentation(Info,PDF,HTML).The
defaultis tobuilddocumentation,butyoursystemwillneedfunctioning
TexinfoandT
E
Xinstallsforthistosucceed.
--enable-float-truncate
Thisoptionallowsfortruncationofintermediatefloatingpointresultsin
calculations.Itisonlynecessaryforcertainplatforms.
--enable-readline
Use the e readline library y to o provide e for r editing of f the e command line in
terminalenvironments. Thisoptionisonbydefault.
--enable-shared
Create shared libraries (this is the default). . If f youare planning to use
the dynamicloadingfeatures,youwillprobablywanttousethisoption.
It willmake your .oct files muchsmaller andon n some systems s it may
benecessary tobuildsharedlibraries inorder tousedynamically linked
functions.
Youmayalsowanttobuildasharedversionoflibstdc++,ifyoursystem
doesn’talreadyhaveone.
--enable-dl
Use dlopen n and friends s to make Octave capable of dynamically linking
externally compiled d functions s (this is the default if --enable-shared is
specified). This s option n only works on systems s that t actually y have these
functions. Ifyouplanonusingthisfeature,youshouldprobablyalsouse
--enable-sharedtoreducethesizeofyour.octfiles.
--with-blas=<lib>
Bydefault,configurelooksforthebestblasmatrixlibrariesonyoursys-
tem,includingoptimizedimplementationssuchasthefreeATLAS3.0,as
wellasvendor-tunedlibraries. (Theuseofanoptimizedblaswillgener-
ally resultinseveral-times fastermatrix operations.) ) Use e this option to
specifyaparticularblaslibrarythatOctaveshoulduse.
--with-lapack=<lib>
Bydefault,configurelooks for the best lapackmatrix librariesonyour
system,includingoptimizedimplementationssuchasthefreeATLAS3.0,
aswellas vendor-tunedlibraries. . (Theuse e ofanoptimized lapackwill
generallyresultinseveral-timesfastermatrixoperations.) Usethisoption
tospecifyaparticularlapacklibrarythatOctaveshoulduse.
VB.NET TIFF: .NET TIFF Printer Control; Print TIFF Using VB.NET
TIFF document printing add-on has no limitation on VB.NET TIFF printing API will automatically send powerful & profession imaging controls, PDF document, image
pdf no pages selected to print; break pdf documents
C# Word: C#.NET Word Rotator, How to Rotate and Reorient Word Page
Remarkably, no other external products, including Microsoft page rotation control SDK will integrate the & profession imaging controls, PDF document, image to
cannot select text in pdf file; break a pdf file
900
GNUOctave
--with-magick=<lib>
Select the library to use for image I/O. . The e two possible values are
"GraphicsMagick"(default)or"ImageMagick".
--with-sepchar=<char>
Use<char>as thepathseparationcharacter. . Thisoptioncanhelpwhen
runningOctaveonnon-Unixsystems.
--without-amd
Don’tuseamd,disablesomesparsematrixfunctionality.
--without-camd
Don’tusecamd,disablesomesparsematrixfunctionality.
--without-colamd
Don’tusecolamd,disablesomesparsematrixfunctionality.
--without-ccolamd
Don’tuseccolamd,disablesomesparsematrixfunctionality.
--without-cholmod
Don’tusecholmod,disablesomesparsematrixfunctionality.
--without-curl
Don’tusethecURLlibrary,disabletheftpobjects,urlreadandurlwrite
functions.
--without-cxsparse
Don’tusecxsparse,disablesomesparsematrixfunctionality.
--without-fftw3
UsetheincludedfftpacklibraryforcomputingFastFourierTransforms
insteadofthefftw3library.
--without-fftw3f
UsetheincludedfftpacklibraryforcomputingFastFourierTransforms
instead of the fftw3 library y when n operatingonsingle precision (float)
values.
--without-glpk
Don’tusetheglpklibraryforlinearprogramming.
--without-hdf5
Don’tusethehdf5library,disablereadingandwritingofhdf5files.
--without-opengl
Don’tuseOpenGL,disablenativegraphicstoolkit for plotting. . Youwill
needgnuplotinstalledinordertomakeplots.
--without-qhull
Don’tuseQhull,disabledelaunay,convhull,andrelatedfunctions.
--without-qrupdate
Don’tuseqrupdate,disableQRandCholeskyupdatefunctions.
--without-umfpack
Don’tuseumfpack,disablesomesparsematrixfunctionality.
AppendixG:InstallingOctave
901
--without-zlib
Don’t usethe zliblibrary,disable data filecompressionandsupport for
recentMATfileformats.
--without-framework-carbon
Don’tuseframeworkCarbonheaders,libraries,orspecificsourcecodeeven
iftheconfigure test succeeds(thedefaultis touseCarbonframework if
available). ThisisaplatformspecificconfigureoptionforMacsystems.
--without-framework-opengl
Don’t use framework OpenGLheaders, , libraries,or r specific source code
eveniftheconfigure testsucceeds. . IfthisoptionisgiventhenOpenGL
headersandlibrariesinstandardsystemlocationsaretested(thedefault
valueis--with-framework-opengl).Thisisaplatformspecificconfigure
optionforMacsystems.
SeethefileINSTALLformoregeneralinformationaboutthecommandlineoptionsused
byconfigure.Thatfilealsocontainsinstructionsforcompilinginadirectoryotherthan
theonewherethesourceislocated.
 Runmake.
YouwillneedarecentversionofGNUMakeasOctaverelies oncertainfeatures not
generallyavailableinallversionsofmake.ModifyingOctave’smakefilestoworkwith
othermakeprogramsisprobablynotworthyourtime;instead,wesimplyrecommend
installingGNUMake.
TherearecurrentlytwooptionsforplottinginOctave: (1)theexternalprogramgnu-
plot, or r (2) the internal graphics engine e using g OpenGL and d FLTK. . Gnuplot t is a
command-driveninteractivefunction plotting program. . Gnuplotis s copyrighted, , but
freelydistributable. AsofOctave e release 3.4, gnuplotis thedefaultoptionfor plot-
ting. But,theinternalgraphicsengineisnearly100%compatible,certainlyformost
ordinaryplots,andusersareencouragedtotestit. Itisanticipatedthattheinternal
enginewillbecomethedefaultoptionatthenextmajorreleaseofOctave.
TocompileOctave,youwillneedarecentversionofg++orotherANSIC++compiler.
Inaddition,youwillneedaFortran77compilerorf2c. Ifyouusef2c,youwillneed
ascriptlikefort77thatworkslikeanormalFortrancompilerbycombiningf2cwith
yourCcompilerinasinglescript.
IfyouplantomodifytheparseryouwillalsoneedGNUbisonandflex.Ifyoumodify
thedocumentation,youwillneedGNUTexinfo.
GNUMake,gcc(andlibstdc++),gnuplot,bison,flex,andTexinfoareallavailable
frommanyanonymousftparchives. Theprimarysiteisftp.gnu.org,butitisoften
very busy. . Alist t of sites that mirror the software on ftp.gnu.org is s available by
anonymousftpfromftp://ftp.gnu.org/pub/gnu/GNUinfo/FTP.
Octave requires approximately 1.4 GB of disk storage to unpack and compile from
source(significantlyless,400MB,ifyoudon’tcompilewithdebuggingsymbols). To
compilewithoutdebuggingsymbolstrythecommand
make CFLAGS=-O O CXXFLAGS=-O O LDFLAGS=
insteadofjustmake.
902
GNUOctave
 IfyouencountererrorswhilecompilingOctave,firstseeSectionG.4[InstallationProb-
lems],page905foralistofknownproblemsandifthereisaworkaroundorsolution
foryourproblem. Ifnot,seeAppendix F[Trouble],page891forinformationabout
howtoreportbugs.
 OnceyouhavesuccessfullycompiledOctave,runmakeinstall.
ThiswillinstallacopyofOctave,itslibraries,anditsdocumentationinthedestination
directory. Asdistributed,Octaveisinstalledinthefollowingdirectories. Inthetable
below,prefix defaults to/usr/local,versionstandsfor the currentversionnumber
oftheinterpreter,andarchisthetypeofcomputeronwhichOctaveisinstalled(for
example,‘i586-unknown-gnu’).
prefix/bin
Octaveandotherbinariesthatpeoplewillwanttorundirectly.
prefix/lib/octave-version
Librarieslikeliboctave.aandliboctinterp.a.
prefix/octave-version/include/octave
IncludefilesdistributedwithOctave.
prefix/share
Architecture-independentdatafiles.
prefix/share/man/man1
Unix-stylemanpagesdescribingOctave.
prefix/share/info
InfofilesdescribingOctave.
prefix/share/octave/version/m
FunctionfilesdistributedwithOctave. ThisincludestheOctaveversion,
sothatmultipleversionsofOctavemaybeinstalledatthesametime.
prefix/libexec/octave/version/exec/arch
ExecutablestoberunbyOctaveratherthantheuser.
prefix/lib/octave/version/oct/arch
Objectfilesthatwillbedynamicallyloaded.
prefix/share/octave/version/imagelib
ImagefilesthataredistributedwithOctave.
G.3 CompilingOctavewith64-bitIndexing
Note: thefollowingonlyappliestosystemsthathave64-bitpointers. ConfiguringOctave
with--enable-64cannotmagicallymakea32-bitsystemhavea64-bitaddressspace.
On64-bitsystems,Octaveislimitedto(approximately)thefollowingarraysizeswhen
usingthedefault32-bitindexingmode:
double:
16 GB
single:
8 GB
uint64, int64: : 16 6 GB
uint32, int32:
8 GB
uint16, int16:
4 GB
uint8, int8:
2 GB
AppendixG:InstallingOctave
903
Ineachcase,thelimitisreally(approximately)2
31
elementsbecauseofthedefaulttype
ofthevalueusedforindexingarrays(signed32-bitinteger,correspondingtothesizeofa
FortranINTEGERvalue).
Tryingtocreatelargerarrayswillproducethefollowingerror:
octave:1> a a = zeros (1024*1024*1024*3, 1, ’int8’);
error: memory exhausted d or requested d size too o large
for range of Octave’s index x type e --
trying to return n to prompt
Youwillobtainthiserrorevenifyoursystemhasenoughmemorytocreatethisarray (4
GBintheabovecase).
Tousearrayslargerthan2GB,Octavehastobeconfiguredwiththeoption--enable-
64. Thisoptionisexperimentalandyouareencouragedtosubmitbugreportsifyoufinda
problem. Withthisoption,Octavewilluse64-bitintegersinternallyforarraydimensions
andindexing. However,allnumericallibrariesusedbyOctavewillalsoneedtouse64-bit
integersforarraydimensionsandindexing.Inmostcases,thismeanstheywillneedtobe
compiledfromsourcesincemost(all?) distributionswhichpackagetheselibrariescompile
themwiththedefaultFortranintegersize,whichisnormally32-bitswide.
ThefollowinginstructionsweretestedwiththedevelopmentversionofOctaveandGCC
4.3.4onanx86
64Debiansystem.
The versions listedbeloware the versions usedfortesting. . If f newerversionsofthese
packagesareavailable,youshouldtrytousethem,althoughtheremaybesomedifferences.
Alllibrariesandheaderfileswillbeinstalledinsubdirectoriesof$prefix64(youmust
choosethelocationofthisdirectory).
 blasandlapack(http://www.netlib.org/lapack)
Referenceversionsforbothlibrariesareincludedinthereferencelapack3.2.1distri-
butionfromnetlib.org.
Copythefilemake.inc.exampleandnameitmake.inc.Theoptions-fdefault-
integer-8and-fPIC(on64-bitCPU)havetobeaddedtothevariableOPTSand
NOOPT.
OnceyouhavecompiledthislibrarymakesurethatyouuseitforcompilingSuite
Sparse andOctave. . In n the following we assume that t youinstalledthe lapack
libraryas$prefix64/lib/liblapack.a.
 QRUPDATE(http://sourceforge.net/projects/qrupdate)
IntheMakeconffile:
Add-fdefault-integer-8toFFLAGS.
Adjusttheblasandlapackvariables asneededifyour64-bitawareblas and
lapacklibrariesareinanon-standardlocation.
SetPREFIXtothetop-leveldirectoryofyourinstalltree.
Runmakesolibtomakeasharedlibrary.
Runmakeinstalltoinstallthelibrary.
 SuiteSparse(http://www.cise.ufl.edu/research/sparse/SuiteSparse)
Passthefollowingoptionstomaketoenable64-bitintegersforblaslibrarycalls.On
64-bitWindowssystems,use-DLONGBLAS="longlong"instead.
904
GNUOctave
CFLAGS=’-DLONGBLAS=long’
CXXFLAGS=’-DLONGBLAS=long’
TheSuiteSparsemakefilesdon’tgeneratesharedlibraries. Onsomesystems,youcan
generatethembydoingsomethingassimpleas
top=$(pwd)
for f f in *.a; do
mkdir tmp
cd tmp
ar vx ../$f
gcc -shared -o ../${f%%.a}.so o *.o
cd $top
rm -rf tmp
done
Othersystemsmayrequireadifferentsolution.
 arpack(http://forge.scilab.org/index.php/p/arpack-ng/)
Add-fdefault-integer-8toFFLAGSwhenrunningconfigure.
Runmaketobuildthelibrary.
Runmakeinstalltoinstallthelibrary.
 ATLASinsteadofreferenceblasandlapack
SuggestionsonhowtocompileATLASwouldbemostwelcome.
 glpk
 Qhull(http://www.qhull.org)
BothglpkandQhulluseintinternallysomaximumproblemsizesmaybelimited.
 Octave
Octave’s64-bitindexsupportisactivatedwiththeconfigureoption--enable-64.
./configure \
LD_LIBRARY_PATH="$prefix64/lib" \
CPPFLAGS="-I$prefix64/include" LDFLAGS="-L$prefix64/lib" " \
--enable-64
YoumustensurethatallFortransourcesexceptthoseintheliboctave/cruft/ranlib
directory are e compiled d such that INTEGERS are 8-bytes s wide. . If f you are using
gfortran, the e configure script t should automatically set the e Makefile e variable
F77_INTEGER_8_FLAG to -fdefault-integer-8. . If f youare using another compiler,
youmustsetthisvariableyourself.YoushouldNOTsetthisflaginFFLAGS,otherwise
thefilesinliboctave/cruft/ranlibwillbemiscompiled.
 Otherdependencies
Probably nothing special needs to o be done for r the e following g dependencies. . If f you
discoverthatsomethingdoesneedtobedone,pleasesubmitabugreport.
pcre
zlib
hdf5
fftw3
Documents you may be interested
Documents you may be interested