I compiled the test.cpp which has MPI routines using gcc as follows
g++ test.cpp -lmsmpi -o test.o
It gives the following error
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lmsmpi
collect2: error: ld returned 1 exit status
I installed gcc using cygwin.
Can anyone help to solve this issue?
Thanks in advance