Closed yongshuo-Z closed 3 years ago
Try this.
mpirun -n x which relion_refine_mpi
--o Refine3D/job019/run --auto_refine **
@WeiZhang-12 : can you clarify your suggestion? Users in our organization are hitting the same error as original author here. They use the GUI to create jobs and run them locally. However, it seems relion is not explicitly prepending mpirun -n to the generated command.
Please show us your job submission template.
" Re3Working=/home///CryoEM_data/* cd ${Re3Working} mkdir ${Re3Working}/Class2D/job006 mpirun -n 5 relion_refine_mpi --o Class2D/job006/run --i Extract/job005/particles.star --dont_combine_weights_via_disc --pool 3 --pad 2 --ctf --iter 25 --tau2_fudge 2 --particle_diameter 180 --K 15 --flatten_solvent --zero_mask --oversampling 1 --psi_step 12 --offset_range 5 --offset_step 2 --norm --scale --j 5 --gpu "" --pipeline_control Class2D/job006/
" This is one template for class2D using the PBS script. And the following is the run log.
" process will start at : Wed May 18 15:36:43 CST 2022 ++++++++++++++++++++++++++++++++++++++++ RELION version: 3.1.3-commit-fa923d Precision: BASE=double
=== RELION MPI setup ===
Expectation iteration 1 of 25 ………… “
Thanks @WeiZhang-12 and @biochem-fan : but I would like to know why relion GUI seems to generate a command line like:
``which relion_refine_mpi`` --o Refine3D/job019/run blablabla
whereas it seems to be suggested instead to run things like **mpirun -n 5** relion_refine_mpi --o Class2D/job006/run
I.e. why is it necessary to explicitly prepend mpirun -n xx?
@KrisJanssen
First of all, are you using Submit to queue?: Yes
? In this case, as I wrote before,
Please show us your job submission template.
Otherwise we cannot investigate. Study our documentation carefully.
If you are using "Submit to queue?: No", do you run a job from the Run!
button? In this case, mpirun
is appended automatically. The "note.txt" in a job folder and the Check command line
button do not say mpirun
, but it is actually used.
If you are not using a queue system and not using the Run!
button, but copy-and-pasting the line from the Check command line
button, then this is not a recommended way. In this case you have to manually prepend mpirun
.
Describe your problem
When working with 3D auto-refine, error occurs as the title says. The 3d initial model and 3d classification finished successfully.
I set the MPI process to 3 in GUI, but as can be seen in the error log, the MPI process is still 1. I wonder how can I set it to 3 to make this step work?
I've seen this #470 , but the solution doesn't seem to work for me. For more information, I run the command:
which mpicc
-->/usr/bin/mpiccwhich mpirun
--> /usr/bin/mpirunmpicc --version
-->gcc (Ubuntu 8.4.0-1ubuntu1~18.04) 8.4.0mpirun --version
-->mpirun (Open MPI) 2.1.1Environment:
Dataset:
Job options:
note.txt
in the job directory):Error message:
Please cite the full error message as the example below.