Howdy, I'm new to this list (less than 2 minutes ago!!), and I'm guessing someone has already brought this up, but just in case... I did a quick search for "is not a directory" in the list archives and don't see this problem.<br>
<br>After successful compilation on two different Cray XT5's, when I do a "make install" I get:<br><br>***************************<br clear="all">echo "module pnetcdf" > pnetcdf.F90<br>/bin/cat pnetcdf.inc >> pnetcdf.F90<br>
echo "end module pnetcdf" >> pnetcdf.F90<br>ftn -c -I. -I./../lib -I../lib -c pnetcdf.F90<br>/opt/cray/xt-asyncpe/3.2/bin/ftn: INFO: linux target is being used<br>cp pnetcdf.inc pnetcdf.mod /datadir/morton/usr/local/pnetcdf/include/pnetcdf.inc<br>
cp: target `/datadir/morton/usr/local/pnetcdf/include/pnetcdf.inc' is not a directory<br>make[3]: *** [/datadir/morton/usr/local/pnetcdf/include/pnetcdf.inc] Error 1<br>****************************<br><br>I had to go back to my O'Reilly book on "make" for the first time in ten years or so, but was able to fix it by modifying the Makefile entry<br>
<br>$(INCDIR)/$(HEADER_GENERATED): $(INCDIR) $(HEADER_GENERATED) $(MODULE_GENERATED)<br>
cp $(HEADER_GENERATED) $(MODULE_GENERATED) $@<br>
<br>TO:<br><br><br>$(INCDIR)/$(HEADER_GENERATED): $(INCDIR) $(HEADER_GENERATED) $(MODULE_GENERATED)<br>
cp $(HEADER_GENERATED) $(MODULE_GENERATED) $(INCDIR)<br><br><br>(i.e. I replaced $@ with $(INCDIR) )<br><br>I'm not really sure where to go (or if I should even bother) to set this up so that the Makefile is correctly configured, so I'm simply bringing it to your attention :)<br>
<br>Cheers,<br><br>Don Morton<br><br>-- <br>Arctic Region Supercomputing Center<br><a href="http://www.arsc.edu/~morton/">http://www.arsc.edu/~morton/</a><br>