error while making plasticity master

148 views
Skip to first unread message

Sagar Chandra

unread,
Oct 14, 2020, 4:56:36 AM10/14/20
to Prisms-CPFE-users

Dear PRISMS developers,

Congratulations for a very nice crystal plasticity code!

While typing make during PRISMS-Plasticity Installation, I am getting the following error:

Plasticity-PRISMS/plasticity-master/src/ellipticBVP/../../include/ellipticBVP.h:17:9: error: ‘PETScWrappers’ does not name a type
 typedef PETScWrappers::MPI::Vector vectorType;


I have installed following pre-rquisites:

p4est-2.2, petsc-3.14.0 and dealii-9.2.0. What could be the problem?
The installation of all pre-requisites is fine as per instructions given in the manual.


Regards,
Sagar


Mohammadreza Yaghoobi

unread,
Oct 14, 2020, 8:49:29 AM10/14/20
to Sagar Chandra, Prisms-CPFE-users
Sagar,

What operating system are you using? Is it personal or HPC?
If it's a laptop or Desktop, maybe this video helps:

Thanks
Reza

--
You received this message because you are subscribed to the Google Groups "Prisms-CPFE-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prisms-cpfe-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prisms-cpfe-users/9c2e407b-3ad2-46c6-bcd2-9a197b4f311bn%40googlegroups.com.

Sagar Chandra

unread,
Oct 14, 2020, 11:36:51 AM10/14/20
to Mohammadreza Yaghoobi, Prisms-CPFE-users
Dear Mohammadreza,

I am trying to install it on Linux based HPC cluster.

Regards,
Sagar

Aaditya Lakshmanan

unread,
Oct 14, 2020, 11:39:45 AM10/14/20
to Prisms-CPFE-users
Hi Sagar,
    Which HPC cluster are you trying to install it on? Can you find out if there is a dealii installation available as a module? If not, can you detail the steps you followed to install deal.ii? 

Best,
Aaditya

Sagar Chandra

unread,
Oct 15, 2020, 7:13:24 AM10/15/20
to Aaditya Lakshmanan, Prisms-CPFE-users
Dear Aaditya,

The HPC is a private supercomputing cluster, and I am coordinating with the system administrator to install the software. I checked with her, the deal.ii package is not available as a module.

We are currently trying to make PRISMS by installing the package repositories' version as given in the manual i.e. p4est 2.0, PETsc 3.9.3 and deal.ii-9.0.0, to see if the errors are due to version mismatch in packages.
I will let you know if the errors persist.

Regards,
Sagar

You received this message because you are subscribed to a topic in the Google Groups "Prisms-CPFE-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/prisms-cpfe-users/PbyYCuTu-eU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to prisms-cpfe-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prisms-cpfe-users/39f21e02-c698-4822-a9b0-cf8474e167aan%40googlegroups.com.

Sagar Chandra

unread,
Oct 19, 2020, 2:11:20 AM10/19/20
to Aaditya Lakshmanan, Prisms-CPFE-users
Dear developers,

With the deal.ii and PetSC release versions given in the manual, the installation of Plasticity code runs smoothly, without any error.

Following variables are defined during the installation process:-

export PETSC_DIR=/home/lus01/sagarc/older_releases/petsc-3.9.3/
export PETSC_ARCH=August2018
export P4EST_DIR=/home/lus01/sagarc/older_releases/p4est-2.0/local/
export PATH=$PATH:$PETSC_DIR/$PETSC_ARCH/bin:~/deal_II_AUG18/:~/deal_II_AUG18/lib/:~/deal_II_AUG18/include/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/deal_II_AUG18/lib/

Afterwards, these simple commands do:-
For p4est:- ./configure --enable-mpi; make P4EST_DIR=$P4EST_DIR;

For PetSc:- ./configure --enable-mpi; make PETSC_DIR=$PETSC_DIR PETSC_ARCH=$PETSC_ARCH all;

For deal.ii:- cmake -DCMAKE_INSTALL_PRFIX=$HOME/deal_II_AUG2018 .. -DDEAL_II_WITH_PETSC=ON -DPETSC_DIR=$PETSC_DIR-DDEAL_II_WITH_P4EST=ON -DP4EST_DIR=$P4EST_DIR -DDEAL_II_WITH_MPI=ON; make -j20 install.

With the installation successful, I shall now proceed to use PRISMS software for mesoscale analysis.
Thank you all for this utility.

Best,
Sagar


Rajesh Khatirkar

unread,
Oct 19, 2020, 2:19:35 AM10/19/20
to Sagar Chandra, Aaditya Lakshmanan, Prisms-CPFE-users
Hi,
I think using candi would be better to install the deal II. It
automatically installs all dependencies. I did it 2-3 times.

Individually there will be too many problems and errors.

regards
rajesh

On Mon, Oct 19, 2020 at 11:41 AM Sagar Chandra
> To view this discussion on the web visit https://groups.google.com/d/msgid/prisms-cpfe-users/CANPdNWLx%3DpF3%3Db8Xz6E7P0gbGtJ1d4nDT3e-V%2BwRCNGbSiD%2B%2Bw%40mail.gmail.com.



--
Dr. Rajesh Khatirkar
Associate Professor
Department of Metallurgical and Materials Engineering,
Visvesvaraya National Institute of Technology (VNIT),
South Ambazari Road, Nagpur - 440010
Maharashtra, INDIA
ph: +91 712 2801508 (o)
+91 9960973599 (m)
+91 712 2223230 (fax)
http://mme.vnit.ac.in/people/rkkhatirkar/

Sagar Chandra

unread,
Oct 19, 2020, 2:32:15 AM10/19/20
to Rajesh Khatirkar, Aaditya Lakshmanan, Prisms-CPFE-users
Yes, but the server on which I am installing the code is not connected to any network. Hence, I need to download tarballs of all dependencies to make the code.

Regards,
sagar

Mohammadreza Yaghoobi

unread,
Oct 19, 2020, 3:45:54 AM10/19/20
to Sagar Chandra, Prisms-CPFE-users
Hi Sagar,

You can visit the prisms-plasticity tutorial videos for basic application of the code.
Here is the address:


Reza

On Oct 19, 2020, at 2:11 AM, Sagar Chandra <tikku.ch...@gmail.com> wrote:



Sagar Chandra

unread,
Oct 19, 2020, 4:16:44 AM10/19/20
to Mohammadreza Yaghoobi, Prisms-CPFE-users
Hi Reza,

Thanks a lot for the link. I have performed some CP investigations on single crystals/polycrystals in the past ( using Neper for generation, MTeX for texture), which i shall try to replicate with PRISMS for learning the s/w. 

Thank you once again.

Regards,
Sagar
Reply all
Reply to author
Forward
0 new messages