I followed Pavel's instructions here:
http://www.mail-archive.com/meep-discuss@ab-initio.mit.edu/msg04338.html

So I installed all of the cygwin packages at the top, I then edited my
bash_profile to the attached file you see attached to this email.

I then downloaded fftw 2.1.5, compiled and make, make install,
I then downloaded libctl 3.1, compiled and make, make install,
I then downloaded h5utils 1.12.1, compiled and make, make install,
I then downloaded mpb 1.4.2, compiled and then it gives me


Neal@WIN-53KJ1ADMTM9 ~
$ ls -a
.              .bashrc    fftw-2.1.5          libctl-3.1
..             .inputrc   fftw-2.1.5.tar      libctl-3.1.tar
.bash_history  .minttyrc  h5utils-1.12.1      mpb-1.4.2
.bash_profile  .profile   h5utils-1.12.1.tar  mpb-1.4.2.tar

Neal@WIN-53KJ1ADMTM9 ~
$ cd mpb-1.4.2

Neal@WIN-53KJ1ADMTM9 ~/mpb-1.4.2
$ ./configure --prefix=/usr/local CPPFLAGS="-DH5_USE_16_API=1"
checking for vendor f77 to be used instead of g77...
checking for f77... f77
checking for Fortran 77 compiler default output... a.exe
checking whether the Fortran 77 compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f77 accepts -g... yes
checking for vendor cc to be used instead of gcc...
checking for cc... cc
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking for sqrt in -lm... yes
checking how to get verbose linking output from f77... -v
checking for Fortran 77 libraries...  -L/usr/lib/gcc/i686-pc-cygwin/3.4.4
-L/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../.. -lm -lfrtbegin -lg2c -lcygwin
-luser32 -lkernel32 -ladvapi32 -lshell32
checking for dummy main to link with Fortran 77 libraries... none
checking for Fortran 77 name-mangling scheme... lower case, underscore,
extra underscore
checking for fftw in -ldfftw... no
checking for fftw in -lfftw... no
configure: error: The FFTW libraries could not be found.  Make sure FFTW is
installed, and that LDFLAGS and CPPFLAGS are set appropriately if necessary.


When I search this error, everyone says its because fftw 3.x is
installed...which i haven't even installed.  So I don't know what I need to
change to get this to run.   I only want to run mpb and have the .h5
options...no meep.  Also, now when I boot my cygwin terminal it says

': not a valid identifier
': not a valid identifier
': not a valid identifier
': not a valid identifierY_PATH
': not a valid identifier
': not a valid identifier
': not a valid identifier
-bash: $'\r': command not found

Neal@WIN-53KJ1ADMTM9 ~

Any reason why this is happening?

Please help.

Thanks,
Thanks,

-Neal Pfeiffenberger

Attachment: .bash_profile
Description: Binary data

_______________________________________________
mpb-discuss mailing list
mpb-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss

Reply via email to