On 15-03-2015 11:34, Jeff Squyres (jsquyres) wrote:
If it's the same with multiple released versions of open MPI, it sounds like a
problem with your compiler, I'm afraid.
To be honest, I didn't try to make a representative va args test program that
uses it the same was OMPI does - I just whipp
On 15-03-2015 11:34, Jeff Squyres (jsquyres) wrote:
If it's the same with multiple released versions of open MPI, it sounds like a
problem with your compiler, I'm afraid.
To be honest, I didn't try to make a representative va args test program that
uses it the same was OMPI does - I just whipp
If it's the same with multiple released versions of open MPI, it sounds like a
problem with your compiler, I'm afraid.
To be honest, I didn't try to make a representative va args test program that
uses it the same was OMPI does - I just whipped up a quick va args test.
Meaning: OMPI may well b
On 12-03-2015 20:44, Jeff Squyres (jsquyres) wrote:
Gah; my mistake -- that va_end(fmt) should be va_end(list).
It works for me with gcc 4.9.1 and icc:
Intel(R) C Intel(R) 64 Compiler XE for applications running on Intel(R) 64,
Version 15.0.2.164 Build 20150121
Hi Jeff
I've some more tests
On 12-03-2015 20:44, Jeff Squyres (jsquyres) wrote:
Gah; my mistake -- that va_end(fmt) should be va_end(list).
It works for me with gcc 4.9.1 and icc:
Intel(R) C Intel(R) 64 Compiler XE for applications running on Intel(R) 64,
Version 15.0.2.164 Build 20150121
Ah, ok.
I've made the change,
Gah; my mistake -- that va_end(fmt) should be va_end(list).
It works for me with gcc 4.9.1 and icc:
Intel(R) C Intel(R) 64 Compiler XE for applications running on Intel(R) 64,
Version 15.0.2.164 Build 20150121
> On Mar 12, 2015, at 7:40 PM, Fabricio Cannini wrote:
>
> On 12-03-2015 20:24,
On 12-03-2015 20:24, Jeff Squyres (jsquyres) wrote:
include
#include
static void foo(const char *fmt, ...)
{
va_list list;
va_start(list, fmt);
vprintf(fmt, list);
va_end(fmt);
}
int main()
{
foo("%s %s\n", "hello", "world");
}
Thanks for the cod
Put this in foo.c:
-
include
#include
static void foo(const char *fmt, ...)
{
va_list list;
va_start(list, fmt);
vprintf(fmt, list);
va_end(fmt);
}
int main()
{
foo("%s %s\n", "hello", "world");
}
-
Then try
icc foo.c -o foo
./foo
> On Mar
On 12-03-2015 18:23, Jeff Squyres (jsquyres) wrote:
Do you have the latest version of the Intel 12.x compiler installed?
Are you able to compile/install any other C source code that uses varargs?
I'll try it now. Any easy-to-find code tha i can pick?
Sorry but I know practically zero C. :(
Do you have the latest version of the Intel 12.x compiler installed?
Are you able to compile/install any other C source code that uses varargs?
I ask because we've seen busted / buggy Intel compiler installs before. It may
be that you need to update to the latest version of the Intel 12.x compi
10 matches
Mail list logo