Tech News
← Back to articles

GNU Octave Meets JupyterLite: Compute Anywhere, Anytime

read original related products more articles

Cross-Compilation of GNU Octave

One of the complications of cross-compiling Octave to WebAssembly, which had not been encountered with the R source code, was the extensive use of Fortran common symbols blocks in the internal libraries of Octave such as odepack.

C Source: liboctave/external/odepack/slsode.f

C-----------------------------------------------------------------------

C The following internal Common block contains

C (a) variables which are local to any subroutine but whose values must

C be preserved between calls to the routine ("own" variables), and

C (b) variables which are communicated between subroutines.

C The block SLS001 is declared in subroutines SLSODE, SINTDY, SSTODE,

C SPREPJ, and SSOLSY.

... continue reading