<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">One idea, have you tried without
"-free"?<br>
<br>
The default when not specified is fixed-format for .f files
according to the Intel User and Reference Guides
(<a class="moz-txt-link-freetext" href="http://www.nacad.ufrj.br/online/intel/Documentation/en_US/compiler_f/main_for/index.htm">http://www.nacad.ufrj.br/online/intel/Documentation/en_US/compiler_f/main_for/index.htm</a>).<br>
<br>
On 12/20/2012 3:05 PM, Laurence Marks wrote:<br>
</div>
<blockquote
cite="mid:CANkSMZBUV7gv2sSOy0ocZEHCG9-3kDcNoN49QKMKivrort7JCw@mail.gmail.com"
type="cite">
<p>I suggest adding an inquire statement to see what are the
properties of the files, e.g. record length etc. this may lead
nowhere but might if OSX had some unusual file defaults in
fortran. Maybe also search the ifort/OSX lists for hints. I
suspect a compiler/OS bug which may have no better fix than what
you have done.</p>
<div class="gmail_quote">On Dec 20, 2012 9:35 PM, "Zhu, Jianxin"
<<a moz-do-not-send="true" href="mailto:jxzhu@lanl.gov">jxzhu@lanl.gov</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div
style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word">
<div>
<div>
<div>Gavin, </div>
<div><br>
</div>
<div>I did that and the problem remains. </div>
<div>So at the moment, I will stay with by adding a
simple writing statement in the lapwso.f file. </div>
<div><br>
</div>
<div>Thanks, </div>
<div><br>
</div>
<div>Jianxin </div>
<div><br>
</div>
</div>
</div>
<div><br>
</div>
<span>
<div style="border-right:medium
none;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium
none;font-family:Calibri;border-top:#b5c4df 1pt
solid;padding-bottom:0in;border-left:medium none">
<span style="font-weight:bold">From: </span>Gavin Abo
<<a moz-do-not-send="true"
href="mailto:gsabo@crimson.ua.edu" target="_blank">gsabo@crimson.ua.edu</a>><br>
<span style="font-weight:bold">Reply-To: </span>A
Mailing list for WIEN2k users <<a
moz-do-not-send="true"
href="mailto:wien@zeus.theochem.tuwien.ac.at"
target="_blank">wien@zeus.theochem.tuwien.ac.at</a>><br>
<span style="font-weight:bold">Date: </span>Thu, 20 Dec
2012 11:54:37 -0700<br>
<span style="font-weight:bold">To: </span>A Mailing
list for WIEN2k users <<a moz-do-not-send="true"
href="mailto:wien@zeus.theochem.tuwien.ac.at"
target="_blank">wien@zeus.theochem.tuwien.ac.at</a>><br>
<span style="font-weight:bold">Subject: </span>Re:
[Wien] Some interesting observation with "runsp_lapw -so
-orb"on Mac OSX<br>
</div>
<div><br>
</div>
<blockquote style="BORDER-LEFT:#b5c4df 5 solid;PADDING:0 0
0 5;MARGIN:0 0 0 5">
<div>
<div text="#000000" bgcolor="#FFFFFF">
<div>Yes, FPOPT is for mpi parallel not serial.<br>
<br>
For serial, you need for fftw3:<br>
<br>
O Compiler options: -free -mp1 -prec-div
-pc80 -pad -align -traceback -DFFTW3<br>
R R_LIB (LAPACK+BLAS): -lmkl_intel_lp64
-lmkl_intel_thread -lmkl_core -liomp5 -lpthread
-L/opt/local/fftw3/lib/ -lfftw3<br>
<br>
This requires that you download ( <a
moz-do-not-send="true"
href="http://fftw.org/download.html"
target="_blank">http://fftw.org/download.html</a>)
and install fftw3.3.3 at /opt/local/fftw3/.
Alternatively, you could use the mkl-fftw3
library. For that, refer to the Wien2k user guide
"11.1.1 Installation tips for mpich and fftw
(either version 2.1.5 or 3.3".<br>
<br>
On 12/20/2012 11:41 AM, Zhu, Jianxin wrote:<br>
</div>
<blockquote type="cite">
<pre>Gavin,
Yes. I am using serial mode for my Mac machines.
This is what I have in the siteconfig_lapw procedure ---
....
Recommended options for system linuxif111 are:
Compiler options: -FR -mp1 -w -prec_div -pc80 -pad -ip
-DINTEL_VML -traceback
Linker Flags: $(FOPT)
-L/opt/intel/Compiler/11.1/046/mkl/lib/em64t -pthread
Preprocessor flags: '-DParallel'
R_LIB (LAPACK+BLAS): -lmkl_lapack -lmkl_intel_lp64
-lmkl_intel_thread -lmkl_core -openmp -lpthread -lguide
Current settings:
O Compiler options: -free -mp1 -prec-div -pc80 -pad -align
-traceback
L Linker Flags: $(FOPT) -L/opt/intel/Composer/mkl/lib
P Preprocessor flags '-DParallel'
R R_LIB (LAPACK+BLAS): -lmkl_intel_lp64 -lmkl_intel_thread
-lmkl_core -liomp5 -lpthread
S Save and Quit
Q Quit abandon changes
To change an item select option.
Selection:
Do you mean I have to put in -DFFTW3 explicitly?
In the OPTIONS file, I do see
current:FPOPT:-FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML -traceback
-DFFTW3
But that's for MPI running, right?
If I look at the recommended options (as copied/pasted above), there is no
-DFFTW3 there.
Maybe I haven't understand your point correctly?
Do you want me to put -DFFTW3 explicitly behind the option FOPT lineso
that it changes from
-free -mp1 -prec-div -pc80 -pad -align -traceback
to
-free -mp1 -prec-div -pc80 -pad -align -traceback -DFFTW3
?
Thanks,
Jianxin
</pre>
</blockquote>
<br>
</div>
</div>
_______________________________________________ Wien
mailing list <a moz-do-not-send="true"
href="mailto:Wien@zeus.theochem.tuwien.ac.at"
target="_blank">
Wien@zeus.theochem.tuwien.ac.at</a> <a
moz-do-not-send="true"
href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien"
target="_blank">
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a> </blockquote>
</span>
</div>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Wien mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</a>
<a class="moz-txt-link-freetext" href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a>
</pre>
</blockquote>
<br>
</body>
</html>