BTW: Stepping back and looking that the error message:
> > > >> Error: The import statement 'import matlab.internal.engine.input'
> > cannot be found or cannot be imported. Imported names must end with '.*' or
> > be fully qualified.
Google suggests:
You are missing one more step:
> [0] PetscInitialize(): Running on machine: MB108SMEC028
> [0] PetscMatlabEngineCreate(): Starting MATLAB engine with command
> /usr/local/MATLAB/R2020b/bin/matlab -glnxa64 -nodisplay -nosplash
No run matlab manually on "MB108SMEC028" with the command
To use datafiles in the test suite:
cd $HOME
git clone https://gitlab.com/petsc/datafiles
make test query=requires queryval=matlab DATAFILESPATH=$HOME/datafiles
Satish
On Sun, 3 Sep 2023, Matthew Knepley wrote:
> On Sun, Sep 3, 2023 at 8:47 AM INTURU SRINIVAS 20PHD0548 <
>
On Sun, 3 Sep 2023, INTURU SRINIVAS 20PHD0548 via petsc-users wrote:
> Hi Sathish,
>
> Thank you so much for your efforts and the support you are giving me to
> sort this out.
>
> I tried to follow the same procedure which you followed to build Petsc
> 3.13.4 with Matlab-R2020b on Ubuntu20.04.
Perhaps you can try the following to get additional info - and debug
Satish
--
balay@compute-386-07:/scratch/balay/petsc$ cd
src/tao/leastsquares/tutorials/matlab/
balay@compute-386-07:/scratch/balay/petsc/src/tao/leastsquares/tutorials/matlab$
make matlab_ls_test
Please don't cc: both petsc-users and petsc-maint [reverting thread to
petsc-users only]
I'm not sure what is happening here. Can you send the corresponding
configure.log, make.log [compressed]?
Here is my attempt to reproduce (with petsc-3.13) on Ubuntu-20.04, with
Matlab-R2021a - and that
Based on the suggestions given by Sathish, I have tried to configure petsc
3.13.4 with Matlab-R2020b. But, it was not successful. After running make
-j 10 test command I have got the following error message.
not ok tao_leastsquares_tutorials_matlab-matlab_ls_test # Error code: 124
# Running
Thank you Sathish.I will try this
On Fri, Sep 1, 2023, 22:53 Satish Balay wrote:
> yes [and remove fblaslapack. don't know if hypre will work here].
>
> i.e:
>
> ./configure --with-mpi-dir=/home/vit/sfw/linux/openmpi/4.1.4 COPTFLAGS=-O3
> CXXOPTFLAGS=-O3 FOPTFLAGS=-O3 PETSC_ARCH=linux-opt
yes [and remove fblaslapack. don't know if hypre will work here].
i.e:
./configure --with-mpi-dir=/home/vit/sfw/linux/openmpi/4.1.4 COPTFLAGS=-O3
CXXOPTFLAGS=-O3 FOPTFLAGS=-O3 PETSC_ARCH=linux-opt --with-debugging=0
--with-x=0 \
--with-matlab-dir=/usr/local/MATLAB/R2020b --with-matlab-engine=1
Hi Satish,
-with-blaslapack-dir=/path/to/matlab_dir
--known-64-bit-blas-indices=1
Is this what you are suggesting?
On Fri, Sep 1, 2023, 20:42 Satish Balay wrote:
> Also:
>
> '-known-64-bit-blas-indices=1',
>
> Note: most externalpackages might not work in this mode.
>
> [we can't really
Also:
'-known-64-bit-blas-indices=1',
Note: most externalpackages might not work in this mode.
[we can't really over come such dependency/conflicts across packages]
Satish
On Fri, 1 Sep 2023, Satish Balay via petsc-users wrote:
> Here is the matlab test that runs in CI
>
>
Here is the matlab test that runs in CI
https://gitlab.com/petsc/petsc/-/jobs/4904566768
config/examples/arch-ci-linux-matlab-ilp64.py
# Note: regular BLAS [with 32-bit integers] conflict with
# MATLAB BLAS - hence requiring -known-64-bit-blas-indices=1
Ah - so you need to use the ilp64
Hi Amneet,
Without libmesh, even for PETSc with MATLAB is not working. It is showing
error for both 3.13.4 and 3.17.5 versions.
I am trying to install IBAMR in HPC cluster with libmesh and this is for
general usage not only for WEC. This I tried without linking Matlab with
PETSc. Here also I got
Hi Srinivas,
As discussed earlier you don’t need libMesh for the WEC application. You
can just work with PETSc 3.17.5 that builds with Matlab.
Do you have a specific reason for wanting to build libMesh?
Thanks,
—Amneet
On Thu, Aug 31, 2023 at 10:16 PM INTURU SRINIVAS 20PHD0548 via petsc-users
Well - you sent in libmesh log not petsc's configure.log/make.log for petsc-3.17
Anyway - with petsc-3.13 - you have:
Matlab:
Includes: -I/usr/local/MATLAB/R2020b/extern/include
/usr/local/MATLAB/R2020b
MatlabEngine:
Library:
On Tue, Aug 29, 2023 at 9:08 AM Satish Balay via petsc-users <
petsc-users@mcs.anl.gov> wrote:
> Send configure.log, make.log from both petsc-3.13 and 3.17 [or 3.19].
>
> [you can gzip them to make the logs friendly to mailing list - or send
> them to petsc-maint]
>
> And does test suite work
Send configure.log, make.log from both petsc-3.13 and 3.17 [or 3.19].
[you can gzip them to make the logs friendly to mailing list - or send them to
petsc-maint]
And does test suite work with 3.17? [or 3.19?]
Satish
On Tue, 29 Aug 2023, INTURU SRINIVAS 20PHD0548 via petsc-users wrote:
> I am
I tried with petsc-3.17.5. During building of libmesh, the error shows
petsc was not found
On Mon, Aug 28, 2023 at 9:43 PM Satish Balay wrote:
> https://ibamr.github.io/linux says petsc-3.17
>
> Here you are using 3.13
>
> Can you retry with petsc-3.17.5?
>
> Satish
>
> On Mon, 28 Aug 2023,
For the past 6 months,I am working on IBAMR without MATLAB. Now for one
application it is recommended to build PETSc with MATLAB as mentioned in
the following link https://github.com/IBAMR/cfd-mpc-wecs.
On Mon, Aug 28, 2023, 21:45 Satish Balay wrote:
> Also - the instructions don't say if
Also - the instructions don't say if matlab is required.
So perhaps you might want to try an install without matlab - and see if you are
able to get IBAMR working.
Satish
On Mon, 28 Aug 2023, Satish Balay via petsc-users wrote:
> https://ibamr.github.io/linux says petsc-3.17
>
> Here you are
I will try it.
On Mon, Aug 28, 2023, 21:43 Satish Balay wrote:
> https://ibamr.github.io/linux says petsc-3.17
>
> Here you are using 3.13
>
> Can you retry with petsc-3.17.5?
>
> Satish
>
> On Mon, 28 Aug 2023, INTURU SRINIVAS 20PHD0548 via petsc-users wrote:
>
> > Hello,
> >
> > I want to
https://ibamr.github.io/linux says petsc-3.17
Here you are using 3.13
Can you retry with petsc-3.17.5?
Satish
On Mon, 28 Aug 2023, INTURU SRINIVAS 20PHD0548 via petsc-users wrote:
> Hello,
>
> I want to build PETSc with MATLAB for working on the simulation using IBAMR
> open software. While
Thanks for your prompt reply! It works perfectly.
Best Regards,
Jau-Uei Chen
Graduate student
Department of Aerospace Engineering and Engineering Mechanics
The University of Texas at Austin
On Fri, May 19, 2023 at 2:02 PM Satish Balay wrote:
> Use "make OMAKE_PRINTDIR=gmake all" instead of
Use "make OMAKE_PRINTDIR=gmake all" instead of "make all"
or use latest release
Satish
On Fri, 19 May 2023, Jau-Uei Chen wrote:
> To whom it may concern,
>
> Currently, I am trying to build PETSc-3.17.4 on my own laptop (MacPro Late
> 2019) but encounter an error when performing "make all".
24 matches
Mail list logo