<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 12/14/2012 11:03 AM, Erik Schnetter
wrote:<br>
</div>
<blockquote
cite="mid:CADKQjjfoGsy8eQfQ8CA1Ds2M0rDEPnWOud1c=zWGE1wGwkx3-Q@mail.gmail.com"
type="cite">Steve
<div><br>
</div>
<div>Looking at the output, it seems that Cactus uses mpicc, while
icc reports and error. Does mpicc maybe use icc? What happens if
you type "mpicc --version"?</div>
</blockquote>
D'oh, of course. Didn't have my caffeine yet, I guess.<br>
<blockquote
cite="mid:CADKQjjfoGsy8eQfQ8CA1Ds2M0rDEPnWOud1c=zWGE1wGwkx3-Q@mail.gmail.com"
type="cite">
<div><br>
</div>
<div>Generally, I recommend against using mpicc, since it
complicates the configuration stage (it may be difficult to run
small test programs). With cross-compiling, this may not be so
much of an issue since you can't run test programs anyway.</div>
<div><br>
</div>
<div>I assume that you are trying this with an empty thorn list?</div>
</blockquote>
No, but it's not complete ET either. Empty's probably a good idea
though.<br>
<blockquote
cite="mid:CADKQjjfoGsy8eQfQ8CA1Ds2M0rDEPnWOud1c=zWGE1wGwkx3-Q@mail.gmail.com"
type="cite">
<div><br>
</div>
<div>Your option list looks strage. Is this really a Fedora
system?</div>
</blockquote>
No. I just didn't fix the comments.<br>
<blockquote
cite="mid:CADKQjjfoGsy8eQfQ8CA1Ds2M0rDEPnWOud1c=zWGE1wGwkx3-Q@mail.gmail.com"
type="cite">
<div><br>
</div>
<div>You are setting MPI_DIR = /opt/apps/intel13/impi/<a
moz-do-not-send="true" href="http://4.1.0.024/intel64">4.1.0.024/intel64</a>.
Does this make sense, if you expect to not be using icc? What
compiler should be used to generate the code, gcc or icc?</div>
<div><br>
</div>
<div>You are setting FPP_OPENMP_FLAGS = -D_OPENMP; this is only
necessary for very old versions of GNU cpp. For modern versions,
I recommend FPP_OPENMP_FLAGS = -fopenmp.</div>
</blockquote>
Yes, but I have OPENMP = no. At least for now.<br>
<blockquote
cite="mid:CADKQjjfoGsy8eQfQ8CA1Ds2M0rDEPnWOud1c=zWGE1wGwkx3-Q@mail.gmail.com"
type="cite">
<div><br>
</div>
<div>You are using -rdynamic in CFLAGS. This is a linker option;
it should go to LDFLAGS instead.</div>
</blockquote>
Remnants of an older file.<br>
<blockquote
cite="mid:CADKQjjfoGsy8eQfQ8CA1Ds2M0rDEPnWOud1c=zWGE1wGwkx3-Q@mail.gmail.com"
type="cite">
<div><br>
</div>
<div>-erik</div>
<div><br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Fri, Dec 14, 2012 at 10:12 AM,
Steven R. Brandt <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:sbrandt@cct.lsu.edu"
target="_blank">sbrandt@cct.lsu.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">I'm trying
to build on MIC. In order to do that, I have to cross
compile. See attached cfg file.<br>
<br>
Anyhow, I build with simfactory and get this:<br>
<br>
End of options from '/home1/00044/tg457049/Cactus/configs/sim/OptionList'.<br>
creating cache ./config.cache<br>
checking host system type... x86_64-unknown-linux-gnu<br>
checking whether make sets ${MAKE}... yes<br>
checking whether the C compiler (mpicc -g3
-m128bit-long-double -mmic -rdynamic -Wunused-variable )
works... yes<br>
checking whether the C compiler (mpicc -g3
-m128bit-long-double -mmic -rdynamic -Wunused-variable ) is
a cross-compiler... yes<br>
checking whether we are using GNU C... yes<br>
checking whether the C++ compiler (mpicxx -g3
-m128bit-long-double -mmic -std=c++03 -rdynamic
-Wunused-variable ) works... yes<br>
checking whether the C++ compiler (mpicxx -g3
-m128bit-long-double -mmic -std=c++03 -rdynamic
-Wunused-variable ) is a cross-compiler... yes<br>
checking whether we are using GNU C++... yes<br>
<br>
So I expect the mpicc compiler to be used. It isn't. What am
I doing wrong?<br>
<br>
Cheers,<br>
Steve<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@einsteintoolkit.org">Users@einsteintoolkit.org</a><br>
<a moz-do-not-send="true"
href="http://lists.einsteintoolkit.org/mailman/listinfo/users"
target="_blank">http://lists.einsteintoolkit.org/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
Erik Schnetter <<a moz-do-not-send="true"
href="mailto:schnetter@cct.lsu.edu" target="_blank">schnetter@cct.lsu.edu</a>><br>
<a moz-do-not-send="true"
href="http://www.perimeterinstitute.ca/personal/eschnetter/"
target="_blank">http://www.perimeterinstitute.ca/personal/eschnetter/</a><br>
</div>
</blockquote>
<br>
</body>
</html>