Git Product home page Git Product logo

Comments (24)

stephaneguindon avatar stephaneguindon commented on July 22, 2024 1

@stephaneguindon Dear Stephane, thank you for your reply. It may not be a big issue. But probably it is an inconvenience. It adds an extra thing to understand and deal with. I believe not all users have to know everything about the software.

I agree this is not ideal. However, I could not find any good reason why someone would not want to obtain a slightly larger number of bootstrap replicates for exactly the same time of computation. I should probably amend the manual in order to explain this though.

from phyml.

stephaneguindon avatar stephaneguindon commented on July 22, 2024 1

@stephaneguindon Dear Stephane, thank you for your reply. It may not be a big issue. But probably it is an inconvenience. It adds an extra thing to understand and deal with. I believe not all users have to know everything about the software.

I agree this is not ideal. However, I could not find any good reason why someone would not want to obtain a slightly larger number of bootstrap replicates for exactly the same time of computation. I should probably amend the manual in order to explain this though.

The reason is in the need to disclose the number of performed bootstrap replicates. There would be an immediate question why there were say 102 instead of normal 100 replicates. If one rounds the number of replicates, there is also a difficulty. Also, if I usually take 75% bootstrap as a reliability threshold, what should I think when get 75 out of 102? It adds unnecessary complexity.

Agreed. I'll amend the code accordingly.

from phyml.

stephaneguindon avatar stephaneguindon commented on July 22, 2024 1

brew install openmpi

from phyml.

stephaneguindon avatar stephaneguindon commented on July 22, 2024 1

Fixed in #187

from phyml.

Ivan-Pchelin avatar Ivan-Pchelin commented on July 22, 2024

The computer was tested for the ability to use a defined number of threads, up to 12, with vConTACT2 0.11.3.

from phyml.

liamxg avatar liamxg commented on July 22, 2024

@Ivan-Pchelin I never see this issue.

from phyml.

stephaneguindon avatar stephaneguindon commented on July 22, 2024

Dear Stephane,

I tried PhyML version 3.3.3:3.3.20211231-1 on Ubuntu 22.04.2. The CPU has 6 physical cores and 12 threads. The problem is that the "-c" option does not work. Every time the program runs the analysis on 6 CPUs and calculates 102 bootstrap replicates instead of 100.

Best wishes, Ivan

This is the behaviour expected according to our implementation. Indeed, the actual number of bootstrap replicates is the first multiple of the number of CPU cores that is bigger or equal to that asked by the user. Is it an issue?

from phyml.

Ivan-Pchelin avatar Ivan-Pchelin commented on July 22, 2024

@liamxg Thank you for bringing this to my attention. Indeed, I followed the following steps and succeeded to use a specified number of processors.

  1. Download the code from https://github.com/stephaneguindon/phyml
  2. Install the file phyml-mpi as described on the page 7 of the manual. Solve possible problem with mpi.h as described on the page.
  3. Use the command specified at the page 8 of the manual. For example, mpirun -n 4 ./phyml-mpi -i myseq -b 100.

from phyml.

Ivan-Pchelin avatar Ivan-Pchelin commented on July 22, 2024

@stephaneguindon Dear Stephane, thank you for your reply. It may not be a big issue. But probably it is an inconvenience. It adds an extra thing to understand and deal with. I believe not all users have to know everything about the software.

from phyml.

liamxg avatar liamxg commented on July 22, 2024

@stephaneguindon you mean mpi can change the number of replicates?

from phyml.

liamxg avatar liamxg commented on July 22, 2024

@Ivan-Pchelin i can not install mpi version, any help?

from phyml.

liamxg avatar liamxg commented on July 22, 2024

Dear Stephane,
I tried PhyML version 3.3.3:3.3.20211231-1 on Ubuntu 22.04.2. The CPU has 6 physical cores and 12 threads. The problem is that the "-c" option does not work. Every time the program runs the analysis on 6 CPUs and calculates 102 bootstrap replicates instead of 100.
Best wishes, Ivan

This is the behaviour expected according to our implementation. Indeed, the actual number of bootstrap replicates is the first multiple of the number of CPU cores that is bigger or equal to that asked by the user. Is it an issue?

This is interesting to me.

from phyml.

Ivan-Pchelin avatar Ivan-Pchelin commented on July 22, 2024

@Ivan-Pchelin i can not install mpi version, any help?

@liamxg Do you work with Linux? If so, do you have the packages autoconf automake and pkg-config installed? What is your precise problem? Actually, the manual seems to be very good.

from phyml.

liamxg avatar liamxg commented on July 22, 2024

@Ivan-Pchelin I use Mac.

from phyml.

stephaneguindon avatar stephaneguindon commented on July 22, 2024

On Mac with autotools and open-mpi (or mpich) installed, the following should work (this is pretty much the set of instructions already given in the README file):
git clone [email protected]:stephaneguindon/phyml.git;
cd phyml/;
sh ./autogen.sh;
./configure --enable-phyml-mpi;
make;

from phyml.

liamxg avatar liamxg commented on July 22, 2024

On Mac with autotools and open-mpi (or mpich) installed, the following should work (this is pretty much the set of instructions already given in the README file): git clone [email protected]:stephaneguindon/phyml.git; cd phyml/; sh ./autogen.sh; ./configure --enable-phyml-mpi; make;

thanks, I will try this now.

from phyml.

Ivan-Pchelin avatar Ivan-Pchelin commented on July 22, 2024

@stephaneguindon Dear Stephane, thank you for your reply. It may not be a big issue. But probably it is an inconvenience. It adds an extra thing to understand and deal with. I believe not all users have to know everything about the software.

I agree this is not ideal. However, I could not find any good reason why someone would not want to obtain a slightly larger number of bootstrap replicates for exactly the same time of computation. I should probably amend the manual in order to explain this though.

The reason is in the need to disclose the number of performed bootstrap replicates. There would be an immediate question why there were say 102 instead of normal 100 replicates. If one rounds the number of replicates, there is also a difficulty. Also, if I usually take 75% bootstrap as a reliability threshold, what should I think when get 75 out of 102? It adds unnecessary complexity.

from phyml.

liamxg avatar liamxg commented on July 22, 2024

@stephaneguindon @Ivan-Pchelin error

image

from phyml.

liamxg avatar liamxg commented on July 22, 2024

when I use the command make.

from phyml.

stephaneguindon avatar stephaneguindon commented on July 22, 2024

@stephaneguindon @Ivan-Pchelin error

image

You need to install open-mpi or mpich on your computer.

from phyml.

liamxg avatar liamxg commented on July 22, 2024

@stephaneguindon Dear Stephane, thank you for your reply. It may not be a big issue. But probably it is an inconvenience. It adds an extra thing to understand and deal with. I believe not all users have to know everything about the software.

I agree this is not ideal. However, I could not find any good reason why someone would not want to obtain a slightly larger number of bootstrap replicates for exactly the same time of computation. I should probably amend the manual in order to explain this though.

The reason is in the need to disclose the number of performed bootstrap replicates. There would be an immediate question why there were say 102 instead of normal 100 replicates. If one rounds the number of replicates, there is also a difficulty. Also, if I usually take 75% bootstrap as a reliability threshold, what should I think when get 75 out of 102? It adds unnecessary complexity.

Agreed. I'll amend the code accordingly.

this is caused by using mpi version, right?

from phyml.

liamxg avatar liamxg commented on July 22, 2024

@stephaneguindon @Ivan-Pchelin error
image

You need to install open-mpi or mpich on your computer.

any link to install open-mpi or mpich?

from phyml.

liamxg avatar liamxg commented on July 22, 2024

@stephaneguindon thanks.

from phyml.

stephaneguindon avatar stephaneguindon commented on July 22, 2024

@stephaneguindon Dear Stephane, thank you for your reply. It may not be a big issue. But probably it is an inconvenience. It adds an extra thing to understand and deal with. I believe not all users have to know everything about the software.

I agree this is not ideal. However, I could not find any good reason why someone would not want to obtain a slightly larger number of bootstrap replicates for exactly the same time of computation. I should probably amend the manual in order to explain this though.

The reason is in the need to disclose the number of performed bootstrap replicates. There would be an immediate question why there were say 102 instead of normal 100 replicates. If one rounds the number of replicates, there is also a difficulty. Also, if I usually take 75% bootstrap as a reliability threshold, what should I think when get 75 out of 102? It adds unnecessary complexity.

from phyml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.