<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>libFoX installation errors</title>
		<link>http://exciting.wikidot.com/forum/t-669564/libfox-installation-errors</link>
		<description>Posts in the discussion thread &quot;libFoX installation errors&quot;</description>
				<copyright></copyright>
		<lastBuildDate>Thu, 14 May 2026 08:53:34 +0000</lastBuildDate>
		
					<item>
				<guid>http://exciting.wikidot.com/forum/t-669564#post-1813508</guid>
				<title>Summary</title>
				<link>http://exciting.wikidot.com/forum/t-669564/libfox-installation-errors#post-1813508</link>
				<description></description>
				<pubDate>Fri, 12 Jul 2013 09:01:54 +0000</pubDate>
				<wikidot:authorName>Andris Gulans</wikidot:authorName>				<wikidot:authorUserId>1358339</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I think this long conversation deserves a short summary.</p> <p>There were two problems here.<br /> 1. <em>Problem.</em> libfox would not compile, since &quot;cp -p&quot; did not work for some reason (probably because of the way the system is configured).<br /> <em>Solution.</em> Append CP=cp to your make command.<br /> 2. <em>Problem.</em> inputmodules.f90 would not compile due to syntax errors. We have realized that for some unclear reason inputmodules.f90 was different than it should be. In case if this file is missing, it is automatically generated, and apparently it was somehow improperly updated.<br /> <em>Solution.</em> Restore the proper version of inputmodules.f90. It can be recovered from the file exciting.lithium.tar.gz that was downloaded from our website.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://exciting.wikidot.com/forum/t-669564#post-1813117</guid>
				<title>(no title)</title>
				<link>http://exciting.wikidot.com/forum/t-669564/libfox-installation-errors#post-1813117</link>
				<description></description>
				<pubDate>Thu, 11 Jul 2013 16:26:04 +0000</pubDate>
				<wikidot:authorName>Robert N</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>I'm tempted to say the errors are related. You had FoX lib errors prior and now you are having issues with the inputparser. The FoX lib is responsible for parsing the input files I believe.</p> <p>exciting-code.0rg/access-exciting-input-files</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://exciting.wikidot.com/forum/t-669564#post-1813027</guid>
				<title>(no title)</title>
				<link>http://exciting.wikidot.com/forum/t-669564/libfox-installation-errors#post-1813027</link>
				<description></description>
				<pubDate>Thu, 11 Jul 2013 14:02:26 +0000</pubDate>
				<wikidot:authorName>smpat</wikidot:authorName>				<wikidot:authorUserId>1659882</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Yes, I downloaded from this site. Sure, I'll download the file and send to you now. Thank you for you help!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://exciting.wikidot.com/forum/t-669564#post-1812985</guid>
				<title>(no title)</title>
				<link>http://exciting.wikidot.com/forum/t-669564/libfox-installation-errors#post-1812985</link>
				<description></description>
				<pubDate>Thu, 11 Jul 2013 13:02:34 +0000</pubDate>
				<wikidot:authorName>Andris Gulans</wikidot:authorName>				<wikidot:authorUserId>1358339</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>No, helium is not necessary. Could you send me that file src/src_inputparser/inputmodules.f90 by email to gulans {ät} physik.hu-berlin.de? I will try it my computer to see whether I get the same syntax error messages.<br /> Just to confirm, you got your exciting package from this very website from the Download section, right?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://exciting.wikidot.com/forum/t-669564#post-1812978</guid>
				<title>(no title)</title>
				<link>http://exciting.wikidot.com/forum/t-669564/libfox-installation-errors#post-1812978</link>
				<description></description>
				<pubDate>Thu, 11 Jul 2013 12:50:09 +0000</pubDate>
				<wikidot:authorName>smpat</wikidot:authorName>				<wikidot:authorUserId>1659882</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I'm using identical make.inc settings as Robert had success with above.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://exciting.wikidot.com/forum/t-669564#post-1812976</guid>
				<title>(no title)</title>
				<link>http://exciting.wikidot.com/forum/t-669564/libfox-installation-errors#post-1812976</link>
				<description></description>
				<pubDate>Thu, 11 Jul 2013 12:48:58 +0000</pubDate>
				<wikidot:authorName>smpat</wikidot:authorName>				<wikidot:authorUserId>1659882</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Yes, this is lithium. I could try helium, but as I remember my problems were the same with each.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://exciting.wikidot.com/forum/t-669564#post-1812975</guid>
				<title>(no title)</title>
				<link>http://exciting.wikidot.com/forum/t-669564/libfox-installation-errors#post-1812975</link>
				<description></description>
				<pubDate>Thu, 11 Jul 2013 12:47:40 +0000</pubDate>
				<wikidot:authorName>Andris Gulans</wikidot:authorName>				<wikidot:authorUserId>1358339</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>This is puzzling&#8230; I do not get the error in that spot, and the compilation runs smoothly for me. The line number for the spot where the error occurs is 854, while in my case the same thing is in line 893. Do you try to compile the exciting-lithium release?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://exciting.wikidot.com/forum/t-669564#post-1812938</guid>
				<title>(no title)</title>
				<link>http://exciting.wikidot.com/forum/t-669564/libfox-installation-errors#post-1812938</link>
				<description></description>
				<pubDate>Thu, 11 Jul 2013 10:54:30 +0000</pubDate>
				<wikidot:authorName>smpat</wikidot:authorName>				<wikidot:authorUserId>1659882</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I removed the line indicated by Andris, ran &quot;make clean&quot; and &quot;make&quot; (not make CP=cp). This gave me the FoXlib error. I repeated the process using CP=cp and encountered this:</p> <p>Makefile.mkmf is ready.<br /> make[3]: Entering directory &#8216;/home/usr/exciting/build/serial&#8217;<br /> ifort -O3 -ip -unroll -scalar_rep -cpp -DXS -DISO -DTETRA -DLIBXC -I./finclude -c ../../src/src_inputparser/modinputdom.f90<br /> ifort -O3 -ip -unroll -scalar_rep -cpp -DXS -DISO -DTETRA -DLIBXC -I./finclude -c ../../src/src_inputparser/inputmodules.f90<br /> ../../src/src_inputparser/inputmodules.f90(854): error #6460: This is not a field name that is defined in the encompassing structure. [POINTARRAY]<br /> allocate(getstructplot1d%pointarray(len))<br /> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span>^<br /> ../../src/src_inputparser/inputmodules.f90(856): error #6158: The structure-name is invalid or is missing.<br /> getstructplot1d%pointarray(i+1)%point=&gt;getstructpoint(&amp;<br /> ^<br /> ../../src/src_inputparser/inputmodules.f90(948): error #6460: This is not a field name that is defined in the encompassing structure. [ORIGIN]<br /> getstructplot2d%origin=&gt;null()<br /> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">&#8212;^<br /> ../../src/src_inputparser/inputmodules.f90(950): error #6795: The target must be of the same type and kind type parameters as the pointer. [ORIGIN]<br /> getstructplot2d%origin=&gt;getstructorigin(&amp;<br /></span> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">&#8212;^<br /> ../../src/src_inputparser/inputmodules.f90(961): error #6460: This is not a field name that is defined in the encompassing structure. [POINTARRAY]<br /> allocate(getstructplot2d%pointarray(len))<br /></span> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-^<br /> ../../src/src_inputparser/inputmodules.f90(963): error #6158: The structure-name is invalid or is missing.<br /> getstructplot2d%pointarray(i+1)%point=&gt;getstructpoint(&amp;<br /> ^<br /> ../../src/src_inputparser/inputmodules.f90(1067): error #6460: This is not a field name that is defined in the encompassing structure. [ORIGIN]<br /> getstructplot3d%origin=&gt;null()<br /></span> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">^<br /> ../../src/src_inputparser/inputmodules.f90(1069): error #6795: The target must be of the same type and kind type parameters as the pointer. [ORIGIN]<br /> getstructplot3d%origin=&gt;getstructorigin(&amp;<br /></span> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">&#8212;^<br /> ../../src/src_inputparser/inputmodules.f90(1080): error #6460: This is not a field name that is defined in the encompassing structure. [POINTARRAY]<br /> allocate(getstructplot3d%pointarray(len))<br /></span> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-^<br /> ../../src/src_inputparser/inputmodules.f90(1082): error #6158: The structure-name is invalid or is missing.<br /> getstructplot3d%pointarray(i+1)%point=&gt;getstructpoint(&amp;<br /> ^<br /> ../../src/src_inputparser/inputmodules.f90(1427): error #6460: This is not a field name that is defined in the encompassing structure. [ATOMARRAY]<br /> allocate(getstructstructure%atomarray(len))<br /></span> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span>-^<br /> ../../src/src_inputparser/inputmodules.f90(1429): error #6158: The structure-name is invalid or is missing.<br /> getstructstructure%atomarray(i+1)%atom=&gt;getstructatom(&amp;<br /> ^<br /> ../../src/src_inputparser/inputmodules.f90(1435): error #6460: This is not a field name that is defined in the encompassing structure. [LDAPLUSU]<br /> getstructstructure%LDAplusU=&gt;null()<br /> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">&#8212;^<br /> ../../src/src_inputparser/inputmodules.f90(1437): error #6795: The target must be of the same type and kind type parameters as the pointer. [LDAPLUSU]<br /> getstructstructure%LDAplusU=&gt;getstructLDAplusU(&amp;<br /></span> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">^<br /> ../../src/src_inputparser/inputmodules.f90(2669): error #6460: This is not a field name that is defined in the encompassing structure. [PLOT1D]<br /> getstructphonons%plot1d=&gt;null()<br /></span> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span>^<br /> ../../src/src_inputparser/inputmodules.f90(2671): error #6795: The target must be of the same type and kind type parameters as the pointer. [PLOT1D]<br /> getstructphonons%plot1d=&gt;getstructplot1d(&amp;<br /> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">^<br /> ../../src/src_inputparser/inputmodules.f90(2873): error #6460: This is not a field name that is defined in the encompassing structure. [PLOT1D]<br /> getstructproperties%plot1d=&gt;null()<br /></span> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-^<br /> ../../src/src_inputparser/inputmodules.f90(2875): error #6795: The target must be of the same type and kind type parameters as the pointer. [PLOT1D]<br /> getstructproperties%plot1d=&gt;getstructplot1d(&amp;<br /></span> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-^<br /> ../../src/src_inputparser/inputmodules.f90(2889): error #6460: This is not a field name that is defined in the encompassing structure. [PLOT2D]<br /> getstructproperties%plot2d=&gt;null()<br /></span> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-^<br /> ../../src/src_inputparser/inputmodules.f90(2891): error #6795: The target must be of the same type and kind type parameters as the pointer. [PLOT2D]<br /> getstructproperties%plot2d=&gt;getstructplot2d(&amp;<br /></span> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-^<br /> ../../src/src_inputparser/inputmodules.f90(2909): error #6460: This is not a field name that is defined in the encompassing structure. [KSTLIST]<br /> getstructproperties%kstlist=&gt;null()<br /></span> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span>-^<br /> ../../src/src_inputparser/inputmodules.f90(2911): error #6795: The target must be of the same type and kind type parameters as the pointer. [KSTLIST]<br /> getstructproperties%kstlist=&gt;getstructkstlist(&amp;<br /> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span>^<br /> ../../src/src_inputparser/inputmodules.f90(2919): error #6795: The target must be of the same type and kind type parameters as the pointer. [PLOT1D]<br /> getstructproperties%plot1d=&gt;getstructplot1d(&amp;<br /> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span>^<br /> ../../src/src_inputparser/inputmodules.f90(2927): error #6795: The target must be of the same type and kind type parameters as the pointer. [PLOT2D]<br /> getstructproperties%plot2d=&gt;getstructplot2d(&amp;<br /> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span>^<br /> ../../src/src_inputparser/inputmodules.f90(2933): error #6460: This is not a field name that is defined in the encompassing structure. [PLOT3D]<br /> getstructproperties%plot3d=&gt;null()<br /> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span>^<br /> ../../src/src_inputparser/inputmodules.f90(2935): error #6795: The target must be of the same type and kind type parameters as the pointer. [PLOT3D]<br /> getstructproperties%plot3d=&gt;getstructplot3d(&amp;<br /> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span>^<br /> ../../src/src_inputparser/inputmodules.f90(2959): error #6795: The target must be of the same type and kind type parameters as the pointer. [KSTLIST]<br /> getstructproperties%kstlist=&gt;getstructkstlist(&amp;<br /> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span>^<br /> ../../src/src_inputparser/inputmodules.f90(2983): error #6795: The target must be of the same type and kind type parameters as the pointer. [PLOT1D]<br /> getstructproperties%plot1d=&gt;getstructplot1d(&amp;<br /> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span>^<br /> ../../src/src_inputparser/inputmodules.f90(2991): error #6795: The target must be of the same type and kind type parameters as the pointer. [PLOT2D]<br /> getstructproperties%plot2d=&gt;getstructplot2d(&amp;<br /> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span>^<br /> ../../src/src_inputparser/inputmodules.f90(2999): error #6795: The target must be of the same type and kind type parameters as the pointer. [PLOT3D]<br /> getstructproperties%plot3d=&gt;getstructplot3d(&amp;<br /> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span>^<br /> /tmp/iforta9SicA.i90(6661): catastrophic error: Too many errors, exiting<br /> compilation aborted for ../../src/src_inputparser/inputmodules.f90 (code 1)<br /> make[3]: <strong>* [inputmodules.o] Error 1<br /> make[3]: Leaving directory &#8216;/home/user/exciting/build/serial&#8217;<br /> make[2]: *</strong> [bin] Error 2<br /> make[2]: Leaving directory &#8216;/home/user/exciting/build/serial&#8217;<br /> make[1]: <strong>* [all] Error 2<br /> make[1]: Leaving directory &#8216;/home/user/exciting/build/serial&#8217;<br /> make: *</strong> [serial] Error 2</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://exciting.wikidot.com/forum/t-669564#post-1812724</guid>
				<title>(no title)</title>
				<link>http://exciting.wikidot.com/forum/t-669564/libfox-installation-errors#post-1812724</link>
				<description></description>
				<pubDate>Thu, 11 Jul 2013 00:46:40 +0000</pubDate>
				<wikidot:authorName>Robert</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>make clean and make then post errors.</p> <p>alternatively, just unzip/tar your tar file and make from there.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://exciting.wikidot.com/forum/t-669564#post-1812439</guid>
				<title>Re: libFoX installation errors</title>
				<link>http://exciting.wikidot.com/forum/t-669564/libfox-installation-errors#post-1812439</link>
				<description></description>
				<pubDate>Wed, 10 Jul 2013 15:39:56 +0000</pubDate>
				<wikidot:authorName>smpat</wikidot:authorName>				<wikidot:authorUserId>1659882</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I deleted the file and ran &quot;Make&quot; in the exciting directory again. Same error(s). Should I make clean and remake, or post the errors?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://exciting.wikidot.com/forum/t-669564#post-1812421</guid>
				<title>Re: libFoX installation errors</title>
				<link>http://exciting.wikidot.com/forum/t-669564/libfox-installation-errors#post-1812421</link>
				<description></description>
				<pubDate>Wed, 10 Jul 2013 15:26:31 +0000</pubDate>
				<wikidot:authorName>Andris Gulans</wikidot:authorName>				<wikidot:authorUserId>1358339</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>But now apparently the problem occures elsewhere. This file is generated automatically. Maybe something got wrong, while you were trying to compile FoX with different options. Try deleting src/src_inputparser/inputmodules.f90. If compilation nevertheless fails, would you mind posting the entire error message (assuming it is not one thousand lines long)?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://exciting.wikidot.com/forum/t-669564#post-1812400</guid>
				<title>Re: libFoX installation errors</title>
				<link>http://exciting.wikidot.com/forum/t-669564/libfox-installation-errors#post-1812400</link>
				<description></description>
				<pubDate>Wed, 10 Jul 2013 15:09:44 +0000</pubDate>
				<wikidot:authorName>smpat</wikidot:authorName>				<wikidot:authorUserId>1659882</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Ok, I've tried with ifort, gfortran, and with default and different settings, but the only way to get past the FoXlib problem looks to be make CP=cp, and that leads to the error I mentioned above:</p> <p>/tmp/ifortCbxW42.i90(6661): catastrophic error: Too many errors, exiting<br /> compilation aborted for ../../src/src_inputparser/inputmodules.f90 (code 1)</p> <p>So I'm still stuck.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://exciting.wikidot.com/forum/t-669564#post-1812360</guid>
				<title>Re: libFoX installation errors</title>
				<link>http://exciting.wikidot.com/forum/t-669564/libfox-installation-errors#post-1812360</link>
				<description></description>
				<pubDate>Wed, 10 Jul 2013 14:28:40 +0000</pubDate>
				<wikidot:authorName>smpat</wikidot:authorName>				<wikidot:authorUserId>1659882</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>This was a <em>REALLY</em> good call. I was able to make CP=cp in FoX and FoX/common. In the exciting directory, the same command seemed to be working, but now I have</p> <p>/tmp/ifortJ1vP4U.i90(6661): catastrophic error: Too many errors, exiting<br /> compilation aborted for ../../src/src_inputparser/inputmodules.f90 (code 1)</p> <p>which follows after, as it says, too many errors for me to include here. I'm going to try a clean run again and use the default Makefile with just mpif90 and see what happens. I'll use Make CP=cp this time.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://exciting.wikidot.com/forum/t-669564#post-1812348</guid>
				<title>(no title)</title>
				<link>http://exciting.wikidot.com/forum/t-669564/libfox-installation-errors#post-1812348</link>
				<description></description>
				<pubDate>Wed, 10 Jul 2013 14:10:43 +0000</pubDate>
				<wikidot:authorName>Robert N</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>This may be irrelevant, but I noticed in Elk, your settings are recommended but in all other instances I would see F77=$F90 and F90=ifort or gfortran. It would seem you're specifying a parallel compiler for serial compilation with those settings.</p> <p>Here is my (currently not optimized) make.inc :<br /> [osu6811@oakley01 exciting]$ cat build/make.inc<br /> F90=ifort<br /> F90_OPTS = -O3 -ip -unroll -scalar_rep<br /> CPP_ON_OPT = -cpp -DXS -DISO -DTETRA -DLIBXC<br /> F77=$(F90)<br /> F77_OPTS = -O3 -ip -unroll -scalar_rep<br /> LIB_ARP =libarpack.a<br /> #export USE_SYS_LAPACK=true<br /> LIB_LPK = liblapack.a libblas.a<br /> LIB_FFT = fftlib.a<br /> LIB_BZINT=libbzint.a</p> <p>LIBS= $(LIB_ARP) $(LIB_LPK) $(LIB_FFT) $(LIB_BZINT)</p> <p>F90_DEBUGOPTS=-g -O0 -std03 -warn declarations -warn uncalled -check all -traceback -ftrapuv<br /> F77_DEBUGOPTS=-g -O0 -warn declarations -warn uncalled -check all -traceback -ftrapuv<br /> #Ignore if you don't have MPI or smplibs</p> <p>MPIF90=mpif90<br /> MPIF90_OPTS=$(F90_OPTS) $(CPP_ON_OPT) -DMPI -DMPIRHO -DMPISEC</p> <p>F77MT=$(F77)<br /> F90MT=$(F90)<br /> SMP_LIBS=$(LIBS)<br /> SMPF90_OPTS=$(F90_OPTS)<br /> SMPF77_OPTS=$(SMPF90_OPTS)<br /> MPISMPF90_OPTS=$(SMPF90_OPTS) -DMPI -DMPIRHO -DMPISECBUILDMPI=false</p> <p>BUILDMPI=true<br /> BUILDSMP=true</p> <p>This compiles with the &quot;ifort&quot; options when issuing the make command. Contents of the bin are:<br /> [osu6811@oakley01 exciting]$ ls bin<br /> excitingmpi* excitingser* excitingsmp* spacegroup* species* stateconvert* stateinfo*</p> <p>The only thing missing is hybrid smp-mpi version.</p> <p>I attempted compiling with other options that seemed correct &quot;ifort.xe&quot; &quot;ifort64&quot; and &quot;ifort.mpi.mkl&quot;<br /> All other options resulted in errors and an empty bin, aside from ifort.xe which produced only excitingser.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://exciting.wikidot.com/forum/t-669564#post-1812335</guid>
				<title>Re: libFoX installation errors</title>
				<link>http://exciting.wikidot.com/forum/t-669564/libfox-installation-errors#post-1812335</link>
				<description></description>
				<pubDate>Wed, 10 Jul 2013 13:45:53 +0000</pubDate>
				<wikidot:authorName>Andris Gulans</wikidot:authorName>				<wikidot:authorUserId>1358339</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I have realised that the CP variable is defined in makefiles in every subdirectory of FoX. Then, this error makes sense. Try to execute<br /> make CP=cp<br /> The supplied environmental variable should override whatever is defined in the makefiles.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://exciting.wikidot.com/forum/t-669564#post-1812304</guid>
				<title>Re: libFoX installation errors</title>
				<link>http://exciting.wikidot.com/forum/t-669564/libfox-installation-errors#post-1812304</link>
				<description></description>
				<pubDate>Wed, 10 Jul 2013 13:04:08 +0000</pubDate>
				<wikidot:authorName>smpat</wikidot:authorName>				<wikidot:authorUserId>1659882</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Before I edit the makefile, if I attempt to &quot;make&quot; inside common, the output is</p> <p>mpif90 -c -g -I../objs/finclude -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DFC_ABORT_ARG -DFC_EOR_LF -DRESTRICTED_ASSOCIATED_BUG m_common_charset.F90<br /> m_common_charset.F90(7): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [FOX_M_FSYS_STRING]<br /> use fox_m_fsys_string, only: toLower<br /> <span style="text-decoration: line-through;">-</span>-^<br /> m_common_charset.F90(7): error #6580: Name in only-list does not exist. [TOLOWER]<br /> use fox_m_fsys_string, only: toLower<br /> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span>-^<br /> m_common_charset.F90(262): error #6406: Conflicting attributes or multiple declaration of name. [TOLOWER]<br /> enc = toLower(encoding)<br /> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span>^<br /> m_common_charset.F90(262): error #6054: A CHARACTER data type is required in this context. [TOLOWER]<br /> enc = toLower(encoding)<br /> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span>^<br /> m_common_charset.F90(285): error #6406: Conflicting attributes or multiple declaration of name. [TOLOWER]<br /> enc = toLower(encoding)<br /> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span>^<br /> m_common_charset.F90(285): error #6054: A CHARACTER data type is required in this context. [TOLOWER]<br /> enc = toLower(encoding)<br /> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span>^<br /> compilation aborted for m_common_charset.F90 (code 1)<br /> make: *** [m_common_charset.o] Error 1</p> <p>If I attempt to make in FoX,</p> <p>mkdir -p objs/lib objs/finclude<br /> (cd fsys; make VPATH=/fsys)<br /> make[1]: Entering directory &#8216;/home/user/exciting/src/FoX/fsys&#8217;<br /> ==&gt; Creating libFoX_fsys.a with fox_m_fsys_abort_flush.o fox_m_fsys_array_str.o fox_m_fsys_format.o fox_m_fsys_parse_input.o fox_m_fsys_string.o fox_m_fsys_string_list.o fox_m_fsys_realtypes.o<br /> cp -p libFoX_fsys.a /home/user/exciting/src/FoX/objs/lib<br /> cp: preserving permissions for &#8216;/home/user/exciting/src/FoX/objs/lib/libFoX_fsys.a&#8217;: Operation not supported<br /> cp: preserving ACL for &#8216;/home/user/exciting/src/FoX/objs/lib/libFoX_fsys.a&#8217;: Operation not supported<br /> make[1]: <strong>* [install] Error 1<br /> make[1]: Leaving directory &#8216;/home/user/exciting/src/FoX/fsys&#8217;<br /> make: *</strong> [fsys_lib] Error 2</p> <p>Now, I'll remove the -p. The same output as before is given with common, and within FoX,</p> <p>mkdir -p objs/lib objs/finclude<br /> (cd fsys; make VPATH=/fsys)<br /> make[1]: Entering directory &#8216;/home/user/exciting/src/FoX/fsys&#8217;<br /> ==&gt; Creating libFoX_fsys.a with fox_m_fsys_abort_flush.o fox_m_fsys_array_str.o fox_m_fsys_format.o fox_m_fsys_parse_input.o fox_m_fsys_string.o fox_m_fsys_string_list.o fox_m_fsys_realtypes.o<br /> cp -p libFoX_fsys.a /home/user/exciting/src/FoX/objs/lib<br /> cp: preserving permissions for &#8216;/home/user/exciting/src/FoX/objs/lib/libFoX_fsys.a&#8217;: Operation not supported<br /> cp: preserving ACL for &#8216;/home/user/exciting/src/FoX/objs/lib/libFoX_fsys.a&#8217;: Operation not supported<br /> make[1]: <strong>* [install] Error 1<br /> make[1]: Leaving directory &#8216;/home/user/exciting/src/FoX/fsys&#8217;<br /> make: *</strong> [fsys_lib] Error 2</p> <p>I'm still getting an error about cp -p!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://exciting.wikidot.com/forum/t-669564#post-1812247</guid>
				<title>Re: libFoX installation errors</title>
				<link>http://exciting.wikidot.com/forum/t-669564/libfox-installation-errors#post-1812247</link>
				<description></description>
				<pubDate>Wed, 10 Jul 2013 10:52:06 +0000</pubDate>
				<wikidot:authorName>smpat</wikidot:authorName>				<wikidot:authorUserId>1659882</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Andris,</p> <p>This is a good point, and unfortunately I tried this yesterday with no success, which doesn't make any sense. Even when I remove -p, I'm getting the same error. I've gone over every file I can find to see if there are any other sources of cp -p, but I can't find any. I'm going to try a new build now and let you know if anything changes.</p> <p>Sean</p> <p>Actually, I had some trouble using &quot;make&quot; in FoX and in FoX/common. I will post the results</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://exciting.wikidot.com/forum/t-669564#post-1812220</guid>
				<title>Re: libFoX installation errors</title>
				<link>http://exciting.wikidot.com/forum/t-669564/libfox-installation-errors#post-1812220</link>
				<description></description>
				<pubDate>Wed, 10 Jul 2013 09:55:04 +0000</pubDate>
				<wikidot:authorName>Andris Gulans</wikidot:authorName>				<wikidot:authorUserId>1358339</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Not sure if my message is noticeable. See above&#8230;</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://exciting.wikidot.com/forum/t-669564#post-1812217</guid>
				<title>Re: libFoX installation errors</title>
				<link>http://exciting.wikidot.com/forum/t-669564/libfox-installation-errors#post-1812217</link>
				<description></description>
				<pubDate>Wed, 10 Jul 2013 09:52:40 +0000</pubDate>
				<wikidot:authorName>Andris Gulans</wikidot:authorName>				<wikidot:authorUserId>1358339</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>This is a strange error that is difficult to explain remotely. As pointed out already, the error appear due to &quot;cp -p&quot;. Why don't you try compile FoX without the -p key? Here is what you have to do then.<br /> 1. Go to the src/FoX directory.<br /> 2. Edit common/makefile. There is a line containing CP=cp -p. Remove -p.<br /> 3. Type make (still within src/FoX).<br /> If it still does not work, there should be a different excuse. :) If it worked, return to the root directory of exciting and finish compiling.<br /> Please, let us know if it works.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://exciting.wikidot.com/forum/t-669564#post-1812136</guid>
				<title>(no title)</title>
				<link>http://exciting.wikidot.com/forum/t-669564/libfox-installation-errors#post-1812136</link>
				<description></description>
				<pubDate>Wed, 10 Jul 2013 05:46:32 +0000</pubDate>
				<wikidot:authorName>smpat</wikidot:authorName>				<wikidot:authorUserId>1659882</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Months??? I don't know how you stayed sane dealing with this kind of problem for so long.</p> <p>Well, I was using pretty much the same parameters (almost identical) to what I've used in my Elk build (which performs perfectly in parallel, and I've NEVER had trouble installing). My (perfectly working) elk make.inc is</p> <p>MAKE = make<br /> F90 = mpif90<br /> F90_OPTS = -O3 -ffast-math -funroll-loops -fopenmp<br /> F77 = mpif90<br /> F77_OPTS = -O3 -ffast-math -funroll-loops -fopenmp<br /> AR = ar<br /> LIB_SYS =<br /> LIB_LPK = lapack.a blas.a<br /> LIB_FFT = fftlib.a</p> <p>One of my Exciting make.inc (the one made automatically, with the replacement of gfortran with mpif90) is</p> <p>F90=mpif90<br /> F77=$(F90)<br /> F90_OPTS = -O3 -march=native # -flto<br /> F77_OPTS = $(F90_OPTS)<br /> CPP_ON_OPT = -cpp -DXS -DISO -DTETRA -DLIBXC<br /> LIB_ARP =libarpack.a<br /> LIB_LPK = -L./ -llapack -lblas<br /> LIB_FFT = fftlib.a<br /> LIB_BZINT= libbzint.a</p> <p>LIBS= $(LIB_ARP) $(LIB_LPK) $(LIB_FFT) $(LIB_BZINT) # -flto -fwhole-program</p> <p>F90_DEBUGOPTS=-g -fbounds-check -fbacktrace -Wall<br /> F77_DEBUGOPTS= $(F90_DEBUGOPTS)</p> <p>#Ignore if you don't have MPI or smplibs</p> <p>MPIF90=mpif90<br /> MPIF90_OPTS=$(F90_OPTS) $(CPP_ON_OPT) -DMPI -DMPIRHO -DMPISEC</p> <p>F77MT=$(F77)<br /> F90MT=$(F90)<br /> SMP_LIBS=$(LIBS)<br /> SMPF90_OPTS=-fopenmp $(F90_OPTS)<br /> SMPF77_OPTS=$(SMPF90_OPTS)</p> <p>BUILDMPI=true<br /> BUILDSMP=false</p> <p>Which leads to the error I've reported. If I change the format to resemble my successful Elk build, i.e.</p> <p>F90_OPTS = -O3 -ffast-math -funroll-loops -fopenmp,</p> <p>the same thing happens. If I use ifort, the same thing happens as well. I think this particular problem has to to do with permissions, like you said. I'm not sure how to deal with that, but I'll try to find someone at the HPC that can help. Until then, my Macbook will be sitting under a fan for the forseeable future, I suppose.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://exciting.wikidot.com/forum/t-669564#post-1811925</guid>
				<title>(no title)</title>
				<link>http://exciting.wikidot.com/forum/t-669564/libfox-installation-errors#post-1811925</link>
				<description></description>
				<pubDate>Tue, 09 Jul 2013 21:26:08 +0000</pubDate>
				<wikidot:authorName>Robert</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Ah,</p> <p>I know your frustration. I spent months trying to get WIEN2k to work in parallel on the OSC Oakley cluster. Have you contacted the super computing help center? They were unable to help me, but you may have better luck.</p> <p>ZFS is a file system. Your macbook uses an HFS+ file system and the super computer most likely utilizes NFS. It is basically how your computer stores and retrieves files.</p> <p>Did you post what install parameters you are using? Do you know the configuration of the super computer?</p> <p>$ifort -v<br /> $gcc -v<br /> $cat /etc/*-release</p> <p>what version of mpi/mpich are you using? Do you have OpenMP? mvapich2?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://exciting.wikidot.com/forum/t-669564#post-1811848</guid>
				<title>(no title)</title>
				<link>http://exciting.wikidot.com/forum/t-669564/libfox-installation-errors#post-1811848</link>
				<description></description>
				<pubDate>Tue, 09 Jul 2013 18:54:50 +0000</pubDate>
				<wikidot:authorName>smpat</wikidot:authorName>				<wikidot:authorUserId>1659882</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I honestly don't even know what a ZFS system is. I'm using two different Ubuntu, one Mac Air, and a supercomputer, and (suprisingly) everything works fine <em>only</em> on the Mac. I've wasted a <em>lot</em> of time trying to get this working on powerful computers. This irritating libFoX error is only one of many I've run into, but I'm determined to get Exciting running on the university cluster.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://exciting.wikidot.com/forum/t-669564#post-1811846</guid>
				<title>(no title)</title>
				<link>http://exciting.wikidot.com/forum/t-669564/libfox-installation-errors#post-1811846</link>
				<description></description>
				<pubDate>Tue, 09 Jul 2013 18:50:54 +0000</pubDate>
				<wikidot:authorName>smpat</wikidot:authorName>				<wikidot:authorUserId>1659882</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>One of my builds that is failing is on a supercomputer, yes. The other countless number that have failed for this reason are not. I have <em>consistently</em> had trouble building Exciting, except on my Macbook Air (believe it or not). I'm really frustrated with this, because the structural optimization feature is exactly what I need that Elk (sister program) is missing.</p> <p>I'll try a sudo install on my personal computers as you recommended and see how that goes. Unfortunately, my optimization runs are about to be one week long on my poor Macbook Air, and if I could put this on the supercomputer it would really make my life easier.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://exciting.wikidot.com/forum/t-669564#post-1811789</guid>
				<title>(no title)</title>
				<link>http://exciting.wikidot.com/forum/t-669564/libfox-installation-errors#post-1811789</link>
				<description></description>
				<pubDate>Tue, 09 Jul 2013 17:37:04 +0000</pubDate>
				<wikidot:authorName>Robert</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>After doing a bit of google work, I found this error is common among persons working in ZFS and especially those working across ZFS and NFS file systems.</p> <p>You didn't happen to install a ZFS file system, did you? Do you know which file systems you are using?</p> <p>Best,</p> <p>Robert</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://exciting.wikidot.com/forum/t-669564#post-1811787</guid>
				<title>(no title)</title>
				<link>http://exciting.wikidot.com/forum/t-669564/libfox-installation-errors#post-1811787</link>
				<description></description>
				<pubDate>Tue, 09 Jul 2013 17:30:39 +0000</pubDate>
				<wikidot:authorName>Robert</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>askubuntu.c*m/questions/193898/preserve-permission-switch-not-working-with-cp</p> <p>Is this on a super computer? Are you perhaps copying files that you are not owner of?</p> <p>&quot;the -p argument works for all users in the constraint of that users abilities on the system. generally non-root users will be able to preserve ownership of their files that they own and are owned by a group that the specific non-root user belongs to. they cannot preserve ownership of files owned by other users (albeit, there may be ways around this depending on the suid, guid, and sticky bits). root can preserve the ownership of files owned by different users, because root has full system priveledges. but joe_schmoe can not preserve the ownership of files owned by root or files owned by billy, etc. depending on where the file will be copied to, joe_schmoe can only preserve file ownership of files owned by joe_schmoe and owned by a group joe_schmoe belongs to.&quot;</p> <p>This may be what is occurring. If you are not using a supercomputer and can log as a super user, try this first then attempt the install.<br /> command:<br /> $su</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://exciting.wikidot.com/forum/t-669564#post-1811702</guid>
				<title>libFoX installation errors</title>
				<link>http://exciting.wikidot.com/forum/t-669564/libfox-installation-errors#post-1811702</link>
				<description></description>
				<pubDate>Tue, 09 Jul 2013 14:10:40 +0000</pubDate>
				<wikidot:authorName>smpat</wikidot:authorName>				<wikidot:authorUserId>1659882</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I've encountered the following error which has interrupted most of my builds:</p> <p>cp: preserving permissions for &#8216;/home/user/exciting/src/FoX/objs/lib/libFoX_fsys.a&#8217;: Operation not supported<br /> cp: preserving ACL for &#8216;/home/user/exciting/src/FoX/objs/lib/libFoX_fsys.a&#8217;: Operation not supported</p> <p>Has anyone experienced this and can anyone provide a solution?</p> <p>Thanks</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>