Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install Pecube in my Windows 7 32 bit? #7

Open
kunalmuk opened this issue Aug 27, 2019 · 8 comments
Open

How to install Pecube in my Windows 7 32 bit? #7

kunalmuk opened this issue Aug 27, 2019 · 8 comments

Comments

@kunalmuk
Copy link

I have downloaded Pecube from this site but having some problems while installing. Can you guide me how to install it and what compilers do I need?

@AntoineMercier
Copy link

  1. Open ubuntu windows :

In the search bar of the sart menu : "ubuntu"
When the window is open, you have to install the packages required in the Pecube install requirements.

  1. Install required pecube packages :

The packages --> The command line to install them

make : --> sudo apt-get install make
gfortran : --> sudo apt-get gfortran
gcc : --> sudo apt-get install build-essential
mpi : --> sudo apt-get install mpi
paraview --> sudo apt-get install paraview
vtk : --> sudo apt-get install vtk7
R : --> sudo apt-get install r-base

NB : If 'apt-get install 'does not work, use only 'apt istall'

Install Paraview to visualize in 3D the output results of pecube :
faults, samples etc. --> https://www.paraview.org/Wiki/ParaView:Build_And_Install

  1. Go to pecube directory with the command lines

First, you have to get out of the emulator directory. To do that, use the following command line :
mnt/d (d is the letter of the disk you want to reach)

for my computer :

  • cd .. (x2)
  • cd mnt/d/

Then continue to move with the command : cd xxx to reach the pecube directory
NB : To know your path from the source disk use the command line : pwd
When you are in the Pecube-master directory use : --> touch src/Pecube.f90
Then compile the Pecube code using : --> bin/compile.sh
Pecube should be now successfully installed !

Finally, you can run an example to check if everything is ok : --> bin/run.sh EXMP1

@xutiankun
Copy link

hello, do I have to use ubuntu to run Pecube?how do i use other make facility such as mingw-make in guide book to install Pecube

@xutiankun
Copy link

  1. Open ubuntu windows :

In the search bar of the sart menu : "ubuntu"
When the window is open, you have to install the packages required in the Pecube install requirements.

  1. Install required pecube packages :

The packages --> The command line to install them

make : --> sudo apt-get install make
gfortran : --> sudo apt-get gfortran
gcc : --> sudo apt-get install build-essential
mpi : --> sudo apt-get install mpi
paraview --> sudo apt-get install paraview
vtk : --> sudo apt-get install vtk7
R : --> sudo apt-get install r-base

NB : If 'apt-get install 'does not work, use only 'apt istall'

Install Paraview to visualize in 3D the output results of pecube :
faults, samples etc. --> https://www.paraview.org/Wiki/ParaView:Build_And_Install

  1. Go to pecube directory with the command lines

First, you have to get out of the emulator directory. To do that, use the following command line :
mnt/d (d is the letter of the disk you want to reach)

for my computer :

  • cd .. (x2)
  • cd mnt/d/

Then continue to move with the command : cd xxx to reach the pecube directory
NB : To know your path from the source disk use the command line : pwd
When you are in the Pecube-master directory use : --> touch src/Pecube.f90
Then compile the Pecube code using : --> bin/compile.sh
Pecube should be now successfully installed !

Finally, you can run an example to check if everything is ok : --> bin/run.sh EXMP1

hello, do I have to use ubuntu to run Pecube?how do i use other make facility such as mingw-make in guide book to install Pecube

@AntoineMercier
Copy link

Hello, Yes you should use ubuntu to run Pecube. I don't know about mingw-make

@xutiankun
Copy link

OK, I see. Thank you very much

@xutiankun
Copy link

hello,can you give me your email? I have some questions about Pecube that I would like to ask you and discuss with you in detail.

Hello, Yes you should use ubuntu to run Pecube. I don't know about mingw-make

@mzncugb
Copy link

mzncugb commented Dec 18, 2021

Hi, Could you please help me solve my confusion. I got a lowest "misfit" model from a several-thousands inversion run by Pecube 4.2.1. But when I put those determined parameters(result of inversion)back into the Pecube.in to run its forward model, why I got a very different misfit.

@AntoineMercier
Copy link

Hi, I suggest you should check all the input data and parameters are exactly the same in the result of the inversion than in the forward modelling. During inversion pecube is doing several forward modelling with differents set of parameters, the misfit result should be the same when putting back intu pecube those output parameters of your inversion for forward modelling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants