<div dir="ltr"><div><div>I think you may want to try build using clang instead of g++. I had the similar problem with g++ but clang is fine.<br><br></div>Regards,<br></div>Wei<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 28, 2016 at 6:08 AM, Gerhard Fischer <span dir="ltr">&lt;<a href="mailto:gf288@cam.ac.uk" target="_blank">gf288@cam.ac.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>I am having some trouble setting up <span class="m_9070701408079369031gmail-il">phenix</span>.rosetta_refine on my Kubuntu 16.04 LTS-system.<br><br>I&#39;ve been following the instructions found here: <a href="https://www.phenix-online.org/documentation/reference/rosetta_install.html" target="_blank">https://www.phenix-online.org/<wbr>documentation/reference/<wbr>rosetta_install.html</a><br><br>The installation/compilation of Rosetta as such (rosetta_src_2016.37.58930_<wbr>bundle.tgz) worked fine, and so did installing the latest version of <span class="m_9070701408079369031gmail-il">Phenix - here, I&#39;ve tried both the binary available for download (</span><span class="m_9070701408079369031gmail-il">phenix</span>-installer-1.10.1-2155-<wbr>intel-linux-2.6-x86_64-centos6<wbr>) and a self-compiled version (phenix-installer-1.11-2567-<wbr>source).<br><br></div>But when running<br><br></div>rosetta.build_phenix_interface<br><br></div>(both with nproc=6 or no multiple processor options set), the compilation crashes at some point. This takes quite a while, and I suspect most parts get compiled, but it does not run to completion.<br><br></div>Any ideas? I attach the output of the error message below.<br><br><br></div>Best wishes,<br><br></div>Gerhard<br><div><div><div><div><div><div><br><br><div><br></div><div>------ stdout ----<br>g++ -o build/src/release/linux/4.4/<wbr>64/x86/gcc/5.4/python/core/<wbr>scoring/cryst/PhenixInterface.<wbr>os -c -std=c++11 -ffor-scope -isystem external/boost_1_55_0/ -isystem external/ -isystem external/include/ -isystem external/dbio/ -pipe -Wall -Wextra -pedantic -Wno-long-long -Wno-strict-aliasing -march=core2 -mtune=generic -O3 -ffast-math -funroll-loops -finline-functions -finline-limit=20000 -s -Wno-unused-variable -Wno-unused-parameter -fPIC -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_<wbr>MATH_FUNCTIONS -DPTR_STD -DNDEBUG -DWITH_PYTHON=1 -Isrc -Iexternal/include -Isrc/platform/linux/64/gcc/5.<wbr>4 -Isrc/platform/linux/64/gcc -Isrc/platform/linux/64 -Isrc/platform/linux -Iexternal/boost_1_55_0 -Iexternal/libxml2/include -Iexternal -Iexternal/dbio -I/usr/include -I/usr/local/include -Iexternal/include/python2.7 src/core/scoring/cryst/<wbr>PhenixInterface.cc<br>src/core/scoring/cryst/<wbr>PhenixInterface.cc: In member function &#39;void core::scoring::cryst::<wbr>PhenixInterface::fitBfactors(<wbr>core::pose::Pose&amp;)&#39;:<br>src/core/scoring/cryst/<wbr>PhenixInterface.cc:253:34: error: no matching function for call to &#39;core::pose::Pose::dump_pdb(<wbr>char [256], const char [2])&#39;<br>  pose_asu.dump_pdb( pdbout , &quot;1&quot; );<br>                              <wbr>    ^<br>In file included from src/core/scoring/cryst/<wbr>PhenixInterface.cc:18:0:<br>src/core/pose/Pose.hh:1518:2: note: candidate: bool core::pose::Pose::dump_pdb(<wbr>const string&amp;) const<br>  dump_pdb(std::string const &amp; file_name) const;<br>  ^<br>src/core/pose/Pose.hh:1518:2: note:   candidate expects 1 argument, 2 provided<br>src/core/pose/Pose.hh:1521:2: note: candidate: void core::pose::Pose::dump_pdb(<wbr>std::ostream&amp;) const<br>  dump_pdb(std::ostream &amp; out) const;<br>  ^<br>src/core/pose/Pose.hh:1521:2: note:   candidate expects 1 argument, 2 provided<br>src/core/pose/Pose.hh:1525:2: note: candidate: void core::pose::Pose::dump_pdb(<wbr>std::ostream&amp;, const utility::vector1&lt;long unsigned int&gt;&amp;) const<br>  dump_pdb(<br>  ^<br>src/core/pose/Pose.hh:1525:2: note:   no known conversion for argument 1 from &#39;char [256]&#39; to &#39;std::ostream&amp; {aka std::basic_ostream&lt;char&gt;&amp;}&#39;<br>src/core/scoring/cryst/<wbr>PhenixInterface.cc: In member function &#39;void core::scoring::cryst::<wbr>PhenixInterface::initialize_<wbr>target_evaluator(const core::pose::Pose&amp;, std::__cxx11::string)&#39;:<br>src/core/scoring/cryst/<wbr>PhenixInterface.cc:916:34: error: no matching function for call to &#39;core::pose::Pose::dump_pdb(<wbr>char [256], const char [2])&#39;<br>  pose_asu.dump_pdb( buffer , &quot;1&quot; );<br>                              <wbr>    ^<br>In file included from src/core/scoring/cryst/<wbr>PhenixInterface.cc:18:0:<br>src/core/pose/Pose.hh:1518:2: note: candidate: bool core::pose::Pose::dump_pdb(<wbr>const string&amp;) const<br>  dump_pdb(std::string const &amp; file_name) const;<br>  ^<br>src/core/pose/Pose.hh:1518:2: note:   candidate expects 1 argument, 2 provided<br>src/core/pose/Pose.hh:1521:2: note: candidate: void core::pose::Pose::dump_pdb(<wbr>std::ostream&amp;) const<br>  dump_pdb(std::ostream &amp; out) const;<br>  ^<br>src/core/pose/Pose.hh:1521:2: note:   candidate expects 1 argument, 2 provided<br>src/core/pose/Pose.hh:1525:2: note: candidate: void core::pose::Pose::dump_pdb(<wbr>std::ostream&amp;, const utility::vector1&lt;long unsigned int&gt;&amp;) const<br>  dump_pdb(<br>  ^<br>src/core/pose/Pose.hh:1525:2: note:   no known conversion for argument 1 from &#39;char [256]&#39; to &#39;std::ostream&amp; {aka std::basic_ostream&lt;char&gt;&amp;}&#39;<br>src/core/scoring/cryst/<wbr>PhenixInterface.cc: In member function &#39;void core::scoring::cryst::<wbr>PhenixInterface::fitBfactors(<wbr>core::pose::Pose&amp;)&#39;:<br>src/core/scoring/cryst/<wbr>PhenixInterface.cc:244:25: warning: ignoring return value of &#39;int chdir(const char*)&#39;, declared with attribute warn_unused_result [-Wunused-result]<br>  chdir(tempdir_.c_str());<br>                         ^<br>src/core/scoring/cryst/<wbr>PhenixInterface.cc:375:13: warning: ignoring return value of &#39;int chdir(const char*)&#39;, declared with attribute warn_unused_result [-Wunused-result]<br>  chdir(&quot;..&quot;);<br>             ^<br>src/core/scoring/cryst/<wbr>PhenixInterface.cc: In member function &#39;void core::scoring::cryst::<wbr>PhenixInterface::initialize_<wbr>target_evaluator(const core::pose::Pose&amp;, std::__cxx11::string)&#39;:<br>src/core/scoring/cryst/<wbr>PhenixInterface.cc:914:25: warning: ignoring return value of &#39;int chdir(const char*)&#39;, declared with attribute warn_unused_result [-Wunused-result]<br>  chdir(tempdir_.c_str());<br>                         ^<br>src/core/scoring/cryst/<wbr>PhenixInterface.cc:1080:13: warning: ignoring return value of &#39;int chdir(const char*)&#39;, declared with attribute warn_unused_result [-Wunused-result]<br>  chdir(&quot;..&quot;);<br>             ^<br>src/core/scoring/cryst/<wbr>PhenixInterface.cc: In member function &#39;std::__cxx11::string core::scoring::cryst::<wbr>PhenixInterface::<wbr>calculateDensityMap(core::<wbr>pose::Pose&amp;, bool)&#39;:<br>src/core/scoring/cryst/<wbr>PhenixInterface.cc:1100:25: warning: ignoring return value of &#39;int chdir(const char*)&#39;, declared with attribute warn_unused_result [-Wunused-result]<br>  chdir(tempdir_.c_str());<br>                         ^<br>src/core/scoring/cryst/<wbr>PhenixInterface.cc:1109:13: warning: ignoring return value of &#39;int chdir(const char*)&#39;, declared with attribute warn_unused_result [-Wunused-result]<br>  chdir(&quot;..&quot;);<br>             ^<br>scons: *** [build/src/release/linux/4.4/<wbr>64/x86/gcc/5.4/python/core/<wbr>scoring/cryst/PhenixInterface.<wbr>os] Error 1<br>scons: building terminated because of errors.<br></div><div>--------- stdout end ------<br></div><div><div><div class="m_9070701408079369031gmail_signature"><br><br>--<br>Gerhard Fischer, PhD<br>Postdoctoral Research Associate<br><br>University of Cambridge<br>Department of Biochemistry<br>80 Tennis Court Road<br>CB2 1GA Cambridge<br>United Kingdom<br><br>---<br>This e-mail message (including any attachments) is for the sole use of<br>the intended recipient(s) and may contain confidential and privileged<br>information. If the reader of this message is not the intended<br>recipient, you are hereby notified that any dissemination, distribution<br>or copying of this message (including any attachments) is strictly<br>prohibited.<br><br>If you have received this message in error, please contact<br>the sender by reply e-mail message and destroy all copies of the<br>original message (including attachments).</div></div>
</div></div></div></div></div></div></div></div>
<br>______________________________<wbr>_________________<br>
phenixbb mailing list<br>
<a href="mailto:phenixbb@phenix-online.org">phenixbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/phenixbb" rel="noreferrer" target="_blank">http://phenix-online.org/<wbr>mailman/listinfo/phenixbb</a><br>
Unsubscribe: <a href="mailto:phenixbb-leave@phenix-online.org">phenixbb-leave@phenix-online.<wbr>org</a><br></blockquote></div><br></div>