Re: [OMPI users] Cannot compile 1.8.x with intel 12.1 and 'io-romio' enabled

2015-03-23 Thread Fabricio Cannini
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

Re: [OMPI users] Cannot compile 1.8.x with intel 12.1 and 'io-romio' enabled

2015-03-16 Thread Fabricio Cannini
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

Re: [OMPI users] Cannot compile 1.8.x with intel 12.1 and 'io-romio' enabled

2015-03-15 Thread Jeff Squyres (jsquyres)
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

Re: [OMPI users] Cannot compile 1.8.x with intel 12.1 and 'io-romio' enabled

2015-03-15 Thread Fabricio Cannini
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

Re: [OMPI users] Cannot compile 1.8.x with intel 12.1 and 'io-romio' enabled

2015-03-12 Thread Fabricio Cannini
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,

Re: [OMPI users] Cannot compile 1.8.x with intel 12.1 and 'io-romio' enabled

2015-03-12 Thread Jeff Squyres (jsquyres)
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,

Re: [OMPI users] Cannot compile 1.8.x with intel 12.1 and 'io-romio' enabled

2015-03-12 Thread Fabricio Cannini
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

Re: [OMPI users] Cannot compile 1.8.x with intel 12.1 and 'io-romio' enabled

2015-03-12 Thread Jeff Squyres (jsquyres)
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

Re: [OMPI users] Cannot compile 1.8.x with intel 12.1 and 'io-romio' enabled

2015-03-12 Thread Fabricio Cannini
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. :(

Re: [OMPI users] Cannot compile 1.8.x with intel 12.1 and 'io-romio' enabled

2015-03-12 Thread Jeff Squyres (jsquyres)
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

[OMPI users] Cannot compile 1.8.x with intel 12.1 and 'io-romio' enabled

2015-03-12 Thread Fabricio Cannini
Hello there I'm trying to compile the mentioned combination in a centos 6.5 x64 host without success, while using intel 14.0 the problem does not happens. Using the configure option '--disable-io-romio' allows me to compile without further trouble, but that's not really a fix. ;) I've tried