<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta content="text/html; charset=utf-8">
</head>
<body>
<div dir="auto" style="color:rgb(33,33,33); background-color:rgb(255,255,255); text-align:left">
Please always answer to the list as it may be of interest for other users.</div>
<div dir="auto" style="color:rgb(33,33,33); background-color:rgb(255,255,255); text-align:left">
<br>
</div>
<div dir="auto" style="color:rgb(33,33,33); background-color:rgb(255,255,255); text-align:left">
This warning message cannot be more clear: the code was not compiled with the CASTOR_OMP option. You should redo the compilation following the users guide.</div>
<div dir="auto" style="color:rgb(33,33,33); background-color:rgb(255,255,255); text-align:left">
<br>
</div>
<div dir="auto" style="color:rgb(33,33,33); background-color:rgb(255,255,255); text-align:left">
Simon</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Hadi Rezaei <hrezaei.m.ph@gmail.com><br>
<b>Sent:</b> Tuesday, June 2, 2020 10:55:14 AM<br>
<b>To:</b> STUTE Simon <simon.stute@chu-nantes.fr><br>
<b>Subject:</b> Re: [Castor-users] problem in multithreading</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Thank you for responding. I did it but I found this message "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
<div>!!!!! castor-recon() -> Option -th is available only if the code is compiled using the CASTOR_OMP environment variable set to 1 !</div>
<div>!!!!!                   The execution will continue BUT WITH ONLY ONE THREAD !</div>
<div>!!!!!                   We strongly advice to compile CASToR with OpenMP !"</div>
<div>I type "export CASTOR_OMP=1 when I installed castor.</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Jun 2, 2020 at 1:09 PM STUTE Simon <<a href="mailto:simon.stute@chu-nantes.fr">simon.stute@chu-nantes.fr</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div>
<div dir="auto" style="direction:ltr; margin:0px; padding:0px; font-family:sans-serif; font-size:11pt; color:black">
Dear Hadi,<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0px; padding:0px; font-family:sans-serif; font-size:11pt; color:black">
The option "-th 0" will automatically fix a number of threads corresponding to the number of cores in your system.<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0px; padding:0px; font-family:sans-serif; font-size:11pt; color:black">
We built CASToR so that it does not do anything by default unless the use asks for it.<br>
<br>
</div>
<div dir="auto" style="direction:ltr; margin:0px; padding:0px; font-family:sans-serif; font-size:11pt; color:black">
Best<br>
</div>
<div dir="auto" style="direction:ltr; margin:0px; padding:0px; font-family:sans-serif; font-size:11pt; color:black">
Simon</div>
<hr style="display:inline-block; width:98%">
<div id="gmail-m_-7748610536813553200divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Castor-users <<a href="mailto:castor-users-bounces@lists.castor-project.org" target="_blank">castor-users-bounces@lists.castor-project.org</a>>
 on behalf of Hadi Rezaei <<a href="mailto:hrezaei.m.ph@gmail.com" target="_blank">hrezaei.m.ph@gmail.com</a>><br>
<b>Sent:</b> Tuesday, June 2, 2020 10:24:19 AM<br>
<b>To:</b> <a href="mailto:castor-users@lists.castor-project.org" target="_blank">
castor-users@lists.castor-project.org</a> <<a href="mailto:castor-users@lists.castor-project.org" target="_blank">castor-users@lists.castor-project.org</a>><br>
<b>Subject:</b> [Castor-users] problem in multithreading</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div dir="ltr">Dear CASToR users
<div>I used castor_v2.1 and I exported CASTOR_OMP=1 and CASTOR_MPI for installation but when I run a program only one thread is used. I attached a picture that indicates it. How can I use multithreading for reconstruction? I used a big scanner and I need to
 faster reconstruction!!</div>
<div>
<div>Any answer will be highly appreciated!<br>
</div>
<div>Best regards</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</body>
</html>