Tech and Academic things for Chianshin

Thursday, January 24, 2008

Kevin Van Workum - Re: How to add MPI on Cygwin

Kevin Van Workum - Re: How to add MPI on Cygwin: "I have built MPICH on my cygwin installation. The building process was straight forward. One thing to lookout for is that in MPICH, there are many files that case sensitive (e.g. mpicc and mpiCC). Make sure you build MPICH in a directory that is mounted with the 'managed' option. You'll also need rsh or sshd running to use it."

well, configure with --with-device=ch_shmem:-usesysv succeeds
(checking that usable shared memory locks were found... yes), so

Is Cygwin case-sensitive? What are managed mounts?


Several Unix programs expect to be able to use to filenames spelled the same way, but with different case. A prime example of this is perl's configuration script, which wants Makefile and makefile. WIN32 can't tell the difference between files with just different case, so the configuration fails.

To help with this problem, starting in cygwin-1.5.0 it is possible to have a case sensitive Cygwin managed mount. This is an experimental feature and should be used with caution. You should only use it for directories that are initially unpopulated and are due to be completely managed by cygwin (hence the name). So, the best use would be to create an empty directory, mount it, and then add files to it:

mkdir /managed-dir
mount -o managed c:/cygwin/managed-dir /managed-dir
cd /managed-dir/
touch makefile
touch Makefile

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]



<< Home