Error setting up MRST on Octave

182 views
Skip to first unread message

Julian Silveira

unread,
Nov 23, 2023, 10:42:20 AM11/23/23
to MRST-users: The Matlab Reservoir Simulation Toolbox User Group
Greetings, I've tried setting up MRST 2023b on Octave 8.4.0 but when I ran "startup" in the command line, most of the modules could not be registered. The following error appeared:

>> startup
warning: isdir is obsolete; use isfolder or dir_in_loadpath instead
The following modules could not be registered.
Reason: The directories do not exist.
  * ad-core                    -> \PICARD\users\jfrvs\mrst-2023b\modules\ad-core
  * ad-eor                     -> \PICARD\users\jfrvs\mrst-2023b\modules\ad-eor
  * ad-mechanics               -> \PICARD\users\jfrvs\mrst-2023b\modules\ad-mechanics
  * ad-micp                    -> \PICARD\users\jfrvs\mrst-2023b\modules\ad-micp
  * ad-props                   -> \PICARD\users\jfrvs\mrst-2023b\modules\ad-props
  * ad-scal                    -> \PICARD\users\jfrvs\mrst-2023b\modules\ad-scal
  * adjoint                    -> \PICARD\users\jfrvs\mrst-2023b\modules\adjoint
  * agglom                     -> \PICARD\users\jfrvs\mrst-2023b\modules\agglom
  * book                       -> \PICARD\users\jfrvs\mrst-2023b\modules\book
  * co2lab                     -> \PICARD\users\jfrvs\mrst-2023b\modules\co2lab
  * coarsegrid                 -> \PICARD\users\jfrvs\mrst-2023b\modules\coarsegrid
  * compositional              -> \PICARD\users\jfrvs\mrst-2023b\modules\compositional
  * deckformat                 -> \PICARD\users\jfrvs\mrst-2023b\modules\deckformat
  * dfm                        -> \PICARD\users\jfrvs\mrst-2023b\modules\dfm
  * dg                         -> \PICARD\users\jfrvs\mrst-2023b\modules\dg
  * diagnostics                -> \PICARD\users\jfrvs\mrst-2023b\modules\diagnostics
  * domain-decomposition       -> \PICARD\users\jfrvs\mrst-2023b\modules\domain-decomposition
  * dual-continuum-mech        -> \PICARD\users\jfrvs\mrst-2023b\modules\dual-continuum-mech
  * dual-porosity              -> \PICARD\users\jfrvs\mrst-2023b\modules\dual-porosity
  * dual-porosity-permeability -> \PICARD\users\jfrvs\mrst-2023b\modules\dual-porosity-permeability
  * ensemble                   -> \PICARD\users\jfrvs\mrst-2023b\modules\ensemble
  * fv-unsat                   -> \PICARD\users\jfrvs\mrst-2023b\modules\fv-unsat
  * fvbiot                     -> \PICARD\users\jfrvs\mrst-2023b\modules\fvbiot
  * geochemistry               -> \PICARD\users\jfrvs\mrst-2023b\modules\geochemistry
  * geothermal                 -> \PICARD\users\jfrvs\mrst-2023b\modules\geothermal
  * gmsh                       -> \PICARD\users\jfrvs\mrst-2023b\modules\gmsh
  * heterogeneity              -> \PICARD\users\jfrvs\mrst-2023b\modules\heterogeneity
  * hfm                        -> \PICARD\users\jfrvs\mrst-2023b\modules\hfm
  * hwu-fractures              -> \PICARD\users\jfrvs\mrst-2023b\modules\hwu-fractures
  * hybrid-ve                  -> \PICARD\users\jfrvs\mrst-2023b\modules\hybrid-ve
  * incomp                     -> \PICARD\users\jfrvs\mrst-2023b\modules\incomp
  * jutul                      -> \PICARD\users\jfrvs\mrst-2023b\modules\jutul
  * libgeometry                -> \PICARD\users\jfrvs\mrst-2023b\modules\libgeometry
  * linearsolvers              -> \PICARD\users\jfrvs\mrst-2023b\modules\linearsolvers
  * mimetic                    -> \PICARD\users\jfrvs\mrst-2023b\modules\mimetic
  * mpfa                       -> \PICARD\users\jfrvs\mrst-2023b\modules\mpfa
  * mpsaw                      -> \PICARD\users\jfrvs\mrst-2023b\modules\mpsaw
  * mrst-gui                   -> \PICARD\users\jfrvs\mrst-2023b\modules\mrst-gui
  * mrst_api                   -> \PICARD\users\jfrvs\mrst-2023b\modules\mrst_api
  * msfvm                      -> \PICARD\users\jfrvs\mrst-2023b\modules\msfvm
  * msmfem                     -> \PICARD\users\jfrvs\mrst-2023b\modules\msmfem
  * msrsb                      -> \PICARD\users\jfrvs\mrst-2023b\modules\msrsb
  * network-models             -> \PICARD\users\jfrvs\mrst-2023b\modules\network-models
  * nfvm                       -> \PICARD\users\jfrvs\mrst-2023b\modules\nfvm
  * nwm                        -> \PICARD\users\jfrvs\mrst-2023b\modules\nwm
  * optimization               -> \PICARD\users\jfrvs\mrst-2023b\modules\optimization
  * postprocessing             -> \PICARD\users\jfrvs\mrst-2023b\modules\postprocessing
  * re-mpfa                    -> \PICARD\users\jfrvs\mrst-2023b\modules\re-mpfa
  * sequential                 -> \PICARD\users\jfrvs\mrst-2023b\modules\sequential
  * shale                      -> \PICARD\users\jfrvs\mrst-2023b\modules\shale
  * sleipner                   -> \PICARD\users\jfrvs\mrst-2023b\modules\sleipner
  * solvent                    -> \PICARD\users\jfrvs\mrst-2023b\modules\solvent
  * spe10                      -> \PICARD\users\jfrvs\mrst-2023b\modules\spe10
  * static-modeling            -> \PICARD\users\jfrvs\mrst-2023b\modules\static-modeling
  * steady-state               -> \PICARD\users\jfrvs\mrst-2023b\modules\steady-state
  * streamlines                -> \PICARD\users\jfrvs\mrst-2023b\modules\streamlines
  * test-suite                 -> \PICARD\users\jfrvs\mrst-2023b\modules\test-suite
  * triangle                   -> \PICARD\users\jfrvs\mrst-2023b\modules\triangle
  * upr                        -> \PICARD\users\jfrvs\mrst-2023b\modules\upr
  * upscaling                  -> \PICARD\users\jfrvs\mrst-2023b\modules\upscaling
  * vag                        -> \PICARD\users\jfrvs\mrst-2023b\modules\vag
  * vem                        -> \PICARD\users\jfrvs\mrst-2023b\modules\vem
  * vemmech                    -> \PICARD\users\jfrvs\mrst-2023b\modules\vemmech
  * wellpaths                  -> \PICARD\users\jfrvs\mrst-2023b\modules\wellpaths

The current working directory is W:\mrst-2023b, I'm not sure what these directories are supposed to be. I am using Windows 10 Pro. 

Thanks in advance for the assistance.

Julian

August Johansson

unread,
Nov 24, 2023, 3:17:24 AM11/24/23
to MRST-users: The Matlab Reservoir Simulation Toolbox User Group
Dear Julian,

I'm not able to reproduce the error on my windows machine with a fresh install of Octave 8.4 on Windows 10 Enterprise and mrst2023b placed in
C:\Users\augustj\Downloads\mrst-2023b\mrst-2023b

I simply downloaded mrst2023b.zip from https://www.sintef.no/projectweb/mrst/download/ and unzipped it in the Downloads directory. Unfortunately I don't have much advice but to recommend you to try again!

>> startup
warning: isdir is obsolete; use isfolder or dir_in_loadpath instead
Welcome to the MATLAB Reservoir Simulation Toolbox (MRST)!
You are using the release version 2023b. To download other versions of MRST
and view examples and relevant publications, please visit www.mrst.no

Useful commands for getting started:
 - List all introductory examples:   mrstExamples()
 - List all modules:                 mrstPath('list')
 - Load modules using GUI:           mrstModule('gui')
 - Explore all available data sets:  mrstDatasetGUI()
 - List examples of a module:        mrstExamples('ad-blackoil')
 - Explore modules and publications: mrstExploreModules()
 - Show all examples in all modules: mrstExamples('all')
 - Show settings for MRST:           mrstSettings()
 - Display this message:             mrstStartupMessage()

For assistance and discussions about MRST, please visit our mailing list at
        www.sintef.no/projectweb/mrst/forum/ (sinte...@googlegroups.com)
For some common queries, see our FAQ: www.sintef.no/projectweb/mrst/faq/
mkoctfile: no objects to link
warning: mkoctfile: building exited with failure status

MRST settings have been set to default
Current MRST settings (persistent between sessions):

      Setting | Current value  | Description                                                        | Default
---------------------------------------------------------------------------------------------------------------
      allowDL |   on [<a href="matlab:mrstSettings('set','allowDL','toggle');mrstSettings('list')">toggle</a>]  | Download files from the internet
                                |   on
     promptDL |   on [<a href="matlab:mrstSettings('set','promptDL','toggle');mrstSettings('list')">toggle</a>]  | Prompt before downloading files
                                 |   on
    promptMEX |  off [<a href="matlab:mrstSettings('set','promptMEX','toggle');mrstSettings('list')">toggle</a>]  | Prompt before building MEX-extens
ions                              |   off
      useHash |  off [<a href="matlab:mrstSettings('set','useHash','toggle');mrstSettings('list')">toggle</a>]  | Use hashing for consistency checks
and comparing simulation setups |   off
       useMEX |  off [<a href="matlab:mrstSettings('set','useMEX','toggle');mrstSettings('list')">toggle</a>]  | Use MEX-acceleration
                               |   off
       useOMP |   on [<a href="matlab:mrstSettings('set','useOMP','toggle');mrstSettings('list')">toggle</a>]  | Use OpenMP when using MEX-accelerati
on                             |   on

Configured directories:
         outputDirectory -> C:\Users\augustj\Downloads\mrst-2023b\mrst-2023b\output
           dataDirectory -> C:\Users\augustj\Downloads\mrst-2023b\mrst-2023b\examples\data

To change output or data directories please run:
mrstOutputDirectory('path/to/new/dir') or mrstDataDirectory('path/to/new/dir')
>>
>>
>> pwd
ans = C:\Users\augustj\Downloads\mrst-2023b\mrst-2023b
>>

Kind regards,
August

Bård Skaflestad

unread,
Nov 24, 2023, 5:04:58 AM11/24/23
to August Johansson, MRST-users: The Matlab Reservoir Simulation Toolbox User Group
Hi,

Is "W:" a mapped network drive or a pathname shortened with "subst" or similar?  If so, that might be a contributing factor.  We have not tested MRST in that configuration.

The reason I ask is that the diagnostic messages refer to

    \PICARD\users\jfrvs\mrst-2023b\modules

while you stated that your current working directory is

    W:\mrst-2023b

What does the command

    ROOTDIR

return for you?  Do you get

    \PICARD\users\jfrvs\mrst-2023b

or

    W:\mrst-2023b

or maybe something else entirely?


Best Regards,

Bård Skaflestad
SINTEF Digital, Mathematics & Cybernetics
Applied Computational Science group


From: sinte...@googlegroups.com <sinte...@googlegroups.com> on behalf of August Johansson <august.j...@gmail.com>
Sent: 24 November 2023 09:17
To: MRST-users: The Matlab Reservoir Simulation Toolbox User Group <sinte...@googlegroups.com>
Subject: [MRST Users] Re: Error setting up MRST on Octave
 
--
You received this message because you are subscribed to the Google Groups "MRST-users: The Matlab Reservoir Simulation Toolbox User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sintef-mrst...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sintef-mrst/492069aa-920c-4c48-8bb0-a2e6bb9a8325n%40googlegroups.com.

Julian Silveira

unread,
Dec 1, 2023, 7:57:44 AM12/1/23
to MRST-users: The Matlab Reservoir Simulation Toolbox User Group
Hello,

Indeed, the drive is a mapped network drive. Upon moving the contents of MRST to another drive, a local one, the error was no longer present, thank you for the assistance. On a side note, upon running ROOTDIR, the return was "\\PICARD\users\jfrvs\mrst-2023b\".

Bård Skaflestad

unread,
Dec 1, 2023, 8:36:29 AM12/1/23
to Julian Silveira, MRST-users: The Matlab Reservoir Simulation Toolbox User Group
Hi,

Thank you for the information.  This is very interesting.  I will try to reproduce the symptoms against one of our network drives to see if I can get to the underlying problem and, hopefully, fix it in time for the next MRST release.

In the meantime, I'm happy that there's a workaround for you.  I believe that you should still be able to use a network drive as a destination for simulation outputsee the 'mrstDataDirectory' command for detailsso you hopefully won't have to fill your local disk if you don't want to have the results there.


Best Regards,

Bård Skaflestad
SINTEF Digital, Mathematics & Cybernetics
Applied Computational Science group

From: sinte...@googlegroups.com <sinte...@googlegroups.com> on behalf of Julian Silveira <julian.viei...@gmail.com>
Sent: 01 December 2023 13:57

To: MRST-users: The Matlab Reservoir Simulation Toolbox User Group <sinte...@googlegroups.com>
Subject: Re: [MRST Users] Re: Error setting up MRST on Octave
 
Reply all
Reply to author
Forward
0 new messages