<div dir="ltr">OK Alfio, thanks a lot. I'll try it.<div>Ciao!<br><div><br>On Tuesday, November 28, 2017 at 10:25:21 AM UTC+1, Alfio Lazzaro wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Hello David,<div>I reply here for the record (I've already replied to you privately). Your error has nothing to do with DBCSR itself. It seems due to the existence of the meta files with "._" from MacOS (probably you have copied the DBCSR sources from your Mac to the linux server). Please, try to install a clean version of DBCSR and recompile it.</div><div><br></div><div>Alfio</div><div><br><br>On Monday, November 27, 2017 at 12:49:27 PM UTC+1, David Lopez wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:arial,sans-serif">Hello, </div><div style="font-family:arial,sans-serif">I am working with the DBCSR package and I am getting an error</div><div style="font-family:arial,sans-serif">in one machine that I do not have in other. When I compile in the</div><div style="font-family:arial,sans-serif">second machine I get this error message:</div><div style="font-family:arial,sans-serif"><br></div><div style="font-family:arial,sans-serif"><br></div><div style="font-family:arial,sans-serif"><font size="2">[normal compilation here]</font></div><div style="font-family:arial,sans-serif"><p style="line-height:normal;font-family:Menlo"><span><font size="2">/home/dlopez/TRABAJO/ECAM/ESL/<wbr>DBCSR/PROTOTIPO_2_211117_NV/<wbr>libdbcsr_svn18128/tools/build_<wbr>utils/fypp -n /home/dlopez/TRABAJO/ECAM/ESL/<wbr>DBCSR/PROTOTIPO_2_211117_NV/<wbr>libdbcsr_svn18128/../libdbcsr_<wbr>svn18128/src/dbcsr/._dbcsr_<wbr>lib.F ._dbcsr_lib.F90</font></span></p>
<p style="line-height:normal;font-family:Menlo"><span><font size="2">gfortran -c -D__FFTW3 -D__LIBINT -D__LIBXC -D__LIBINT_MAX_AM=7 -D__LIBDERIV_MAX_AM1=6 -D__MAX_CONTR=4 -O2 -ffast-math -ffree-form -ffree-line-length-none -ftree-vectorize -funroll-loops -mtune=native -D__COMPILE_ARCH="\"local\"" -D__COMPILE_DATE="\"Wed Nov 22 15:48:12 CET 2017\"" -D__COMPILE_HOST="\"kroketa\"" -D__COMPILE_REVISION="\"\"" -D__DATA_DIR="\"/home/dlopez/<wbr>TRABAJO/ECAM/ESL/DBCSR/<wbr>PROTOTIPO_2_211117_NV/<wbr>libdbcsr_svn18128/data\"" -D__SHORT_FILE__="\"libdbcsr_<wbr>svn18128/src/dbcsr/._dbcsr_<wbr>lib.F\"" -I'/home/dlopez/TRABAJO/ECAM/<wbr>ESL/DBCSR/PROTOTIPO_2_211117_<wbr>NV/libdbcsr_svn18128/../<wbr>libdbcsr_svn18128/src/dbcsr/' ._dbcsr_lib.F90</font></span></p>
<p style="line-height:normal;font-family:Menlo"><span><font size="2">._dbcsr_lib.F90:1:1:</font></span></p>
<p style="line-height:normal;font-family:Menlo;min-height:19px"><font size="2"><span></span><br></font></p>
<p style="line-height:normal;font-family:Menlo"><span><font size="2"> # 1 "/home/dlopez/TRABAJO/ECAM/<wbr>ESL/DBCSR/PROTOTIPO_2_211117_<wbr>NV/libdbcsr_svn18128/../libd</font></span></p>
<p style="line-height:normal;font-family:Menlo"><span><font size="2"> 1</font></span></p>
<p style="line-height:normal;font-family:Menlo"><span><font size="2">Error: Invalid character in name at (1)</font></span></p>
<p style="line-height:normal;font-family:Menlo"><span><font size="2">._dbcsr_lib.F90:1:66:</font></span></p>
<p style="line-height:normal;font-family:Menlo;min-height:19px"><font size="2"><span></span><br></font></p>
<p style="line-height:normal;font-family:Menlo"><span><font size="2"> # 1 "/home/dlopez/TRABAJO/ECAM/<wbr>ESL/DBCSR/PROTOTIPO_2_211117_<wbr>NV/libdbcsr_svn18128/../libd</font></span></p>
<p style="line-height:normal;font-family:Menlo"><span><font size="2"> 1</font></span></p>
<p style="line-height:normal;font-family:Menlo"><span><font size="2">Error: Non-numeric character in statement label at (1)</font></span></p>
<p style="line-height:normal;font-family:Menlo"><span><font size="2">._dbcsr_lib.F90:1:69:</font></span></p>
<p style="line-height:normal;font-family:Menlo;min-height:19px"><font size="2"><span></span><br></font></p>
<p style="line-height:normal;font-family:Menlo"><span><font size="2"> # 1 "/home/dlopez/TRABAJO/ECAM/<wbr>ESL/DBCSR/PROTOTIPO_2_211117_<wbr>NV/libdbcsr_svn18128/../libd</font></span></p>
<p style="line-height:normal;font-family:Menlo"><span><font size="2"> 1</font></span></p>
<p style="line-height:normal;font-family:Menlo"><span><font size="2">Error: Non-numeric character in statement label at (1)</font></span></p>
<p style="line-height:normal;font-family:Menlo"><span><font size="2">._dbcsr_lib.F90:1:72:</font></span></p>
<p style="line-height:normal;font-family:Menlo;min-height:19px"><font size="2"><span></span><br></font></p>
<p style="line-height:normal;font-family:Menlo"><span><font size="2"> # 1 "/home/dlopez/TRABAJO/ECAM/<wbr>ESL/DBCSR/PROTOTIPO_2_211117_<wbr>NV/libdbcsr_svn18128/../libd</font></span></p>
<p style="line-height:normal;font-family:Menlo"><span><font size="2"> 1</font></span></p>
<p style="line-height:normal;font-family:Menlo"><span><font size="2">Error: Non-numeric character in statement label at (1)</font></span></p>
<p style="line-height:normal;font-family:Menlo"><span><font size="2">._dbcsr_lib.F90:1:73:</font></span></p>
<p style="line-height:normal;font-family:Menlo;min-height:19px"><font size="2"><span></span><br></font></p>
<p style="line-height:normal;font-family:Menlo"><span><font size="2"> # 1 "/home/dlopez/TRABAJO/ECAM/<wbr>ESL/DBCSR/PROTOTIPO_2_211117_<wbr>NV/libdbcsr_svn18128/../libd</font></span></p>
<p style="line-height:normal;font-family:Menlo"><span><font size="2"> 1</font></span></p>
<p style="line-height:normal;font-family:Menlo"><span><font size="2">Error: Unclassifiable statement at (1)</font></span></p>
<p style="line-height:normal;font-family:Menlo"><span><font size="2">/home/dlopez/TRABAJO/ECAM/ESL/<wbr>DBCSR/PROTOTIPO_2_211117_NV/<wbr>libdbcsr_svn18128/makefiles/<wbr>Makefile:427: recipe for target '._dbcsr_lib.o' failed</font></span></p>
<p style="line-height:normal;font-family:Menlo"><span><font size="2">make[3]: *** [._dbcsr_lib.o] Error 1</font></span></p>
<p style="line-height:normal;font-family:Menlo"><span><font size="2">/home/dlopez/TRABAJO/ECAM/ESL/<wbr>DBCSR/PROTOTIPO_2_211117_NV/<wbr>libdbcsr_svn18128/makefiles/<wbr>Makefile:124: recipe for target 'all' failed</font></span></p>
<p style="line-height:normal;font-family:Menlo"><span><font size="2">make[2]: *** [all] Error 2</font></span></p>
<p style="line-height:normal;font-family:Menlo"><span><font size="2">/home/dlopez/TRABAJO/ECAM/ESL/<wbr>DBCSR/PROTOTIPO_2_211117_NV/<wbr>libdbcsr_svn18128/makefiles/<wbr>Makefile:113: recipe for target 'sopt' failed</font></span></p>
<p style="line-height:normal;font-family:Menlo"><span><font size="2">make[1]: *** [sopt] Error 2</font></span></p>
<p style="line-height:normal;font-family:Menlo"><span><font size="2">Makefile:108: recipe for target 'all' failed</font></span></p>
<p style="line-height:normal;font-family:Menlo"><span><font size="2">make: *** [all] Error 2</font></span></p><div><span><br></span></div></div><div style="font-family:arial,sans-serif"> The first computer, where it works fine, is a MAC. The second</div><div style="font-family:arial,sans-serif">computer, where I get the error, is Linux.</div><div style="font-family:arial,sans-serif"> I have been looking at internet and seems that it is related with the<br></div><div style="font-family:arial,sans-serif">C pre-processor. It seems that in some point some file write a #</div><div style="font-family:arial,sans-serif">symbol that afterwards is not recognised. I thing that is something</div><div style="font-family:arial,sans-serif">strongly dependent on the machine because as I said I don't have</div><div style="font-family:arial,sans-serif"> this error in my MAC.</div><div style="font-family:arial,sans-serif"> I have been deeply looking into the DBCSR files; but I am unable</div><div style="font-family:arial,sans-serif">to find the place where is the order of writing that #. The solution</div><div style="font-family:arial,sans-serif">could be to print, instead of a #, a !; which will be ignored by the</div><div style="font-family:arial,sans-serif">fortran compiler.</div><div style="font-family:arial,sans-serif"> Any help is kindly appreciated.</div><div style="font-family:arial,sans-serif"> Thank you very much, David. </div></div></blockquote></div></div></blockquote></div></div></div>