- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
When I use mpig++ or mpiicpc script on our lab's machine(CentOS5) with LANG=ja_JP.UTF-8,
the scripts won't work correctly with output:
$ mpiicpc -show
/opt/intel/impi/3.1/bin64/mpiicpc: line 297: [: too many arguments
...
$ mpig++ -show
/opt/intel/impi/3.1/bin64/mpigxx: line 294: [: too many arguments
...
When I set LANG=C, no problem occurred.
I looked at the mpigxx scripts carefully. It says:
/opt/intel/impi/3.1/bin64/mpigxx: line 294: vers=`gcc -v 2>&1 | grep "gcc version" | sed -e 's/gcc version //' | awk '{print $1}'`
On recent gcc, `gcc -v` output is localized into Japanese when LANG=ja.
Using `gcc --version` output is better when handling version number.
Change to:
`gcc --version | head -n 1 | cut -f 3 -d ' '`
will fix this problem.
Regards,
Ryo Igarashi
When I use mpig++ or mpiicpc script on our lab's machine(CentOS5) with LANG=ja_JP.UTF-8,
the scripts won't work correctly with output:
$ mpiicpc -show
/opt/intel/impi/3.1/bin64/mpiicpc: line 297: [: too many arguments
...
$ mpig++ -show
/opt/intel/impi/3.1/bin64/mpigxx: line 294: [: too many arguments
...
When I set LANG=C, no problem occurred.
I looked at the mpigxx scripts carefully. It says:
/opt/intel/impi/3.1/bin64/mpigxx: line 294: vers=`gcc -v 2>&1 | grep "gcc version" | sed -e 's/gcc version //' | awk '{print $1}'`
On recent gcc, `gcc -v` output is localized into Japanese when LANG=ja.
Using `gcc --version` output is better when handling version number.
Change to:
`gcc --version | head -n 1 | cut -f 3 -d ' '`
will fix this problem.
Regards,
Ryo Igarashi
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Ryo,
Thank you for letting us know. I've submitted a bug with our internal development team.
Regards,
~Gergana Slavova
===================================
Gergana Slavova
Technical Consulting Engineer
Intel Cluster Tools
E-mail: gergana.s.slavova_at_intel.com
Phone: (217) 403-4218
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page