fixed lib path for mpi library to be friendly with unix (unix2nt_cc will handle the...
authorGengbin Zheng <gzheng@illinois.edu>
Thu, 10 Dec 2009 07:49:43 +0000 (01:49 -0600)
committerGitosis server account <gitosis@charm.cs.uiuc.edu>
Thu, 10 Dec 2009 07:49:43 +0000 (01:49 -0600)
via git-CVS emulator

src/arch/mpi-win32/conv-mach.sh

index 3f63f566f3fe4074cf6c1c98b6e605d553896634..a9ae337d384f2b13fa9f05cdda0ffa34ba23598b 100644 (file)
@@ -1,11 +1,12 @@
 HPC_SDK="c:\Program Files\Microsoft HPC Pack 2008 SDK"
+HPC_SDK=`cygpath -d "$HPC_SDK"`
 
-CMK_CC="unix2nt_cc -D_CRT_SECURE_NO_DEPRECATE -I `cygpath -d "$HPC_SDK\Include"`"
+CMK_CC="unix2nt_cc -D_CRT_SECURE_NO_DEPRECATE -I `cygpath -u "$HPC_SDK/Include"`"
 CMK_CPP_C="$CMK_CC -E"
-CMK_CXX="unix2nt_cc -D_CRT_SECURE_NO_DEPRECATE  -I `cygpath -d "$HPC_SDK\Include"`"
+CMK_CXX="unix2nt_cc -D_CRT_SECURE_NO_DEPRECATE  -I `cygpath -u "$HPC_SDK/Include"`"
 CMK_CXXPP=$CMK_CC
-CMK_LD="$CMK_CC -L `cygpath -d "$HPC_SDK\Lib\i386"` -lmsmpi"
-CMK_LDXX="$CMK_CXX -L `cygpath -d "$HPC_SDK\Lib\i386"` -lmsmpi"
+CMK_LD="$CMK_CC -L`cygpath -u "$HPC_SDK/Lib/i386"` -lmsmpi"
+CMK_LDXX="$CMK_CXX -L`cygpath -u "$HPC_SDK/Lib/i386"` -lmsmpi"
 
 CMK_SEQ_CC="$CMK_CC"
 CMK_SEQ_CXX="$CMK_CXX"