<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFCC99" text="#000099">
<font size="-1">Dear all,<br>
<br>
I am having trouble compiling a code with some dependencies that
shall call SLEPC.<br>
The compilation however goes perfectly for the various tutorials
and tests in the package.<br>
<br>
A sample makefile looks like:<br>
<br>
***<br>
<br>
<i>default: code</i><i><br>
</i><i>routines: Rout1.o Rout2.o Rout3.o Module1.o</i><i><br>
</i><i>code: PgmPrincipal</i><i><br>
</i><i>sources=Rout1.f Rout2.f Rout3.f Module1.f90</i><i><br>
</i><i>objets=Rout1.o Rout2.o Rout3.o Module1.o Pgm</i><i>Principal</i><i>.o</i><i><br>
</i><i><br>
</i><i>%.o: %.f</i><i><br>
</i><i> -${FLINKER} -c $<</i><i><br>
</i><i><br>
</i><i>Module1_mod.mod Module1.o: </i><i>Module1</i><i>.f90</i><i><br>
</i><i> -${FLINKER} -c </i><i>Module1</i><i>.f90</i><i><br>
</i><i><br>
</i><i>include ${SLEPC_DIR}/conf/slepc_common</i><i><br>
</i><i><br>
</i><i>Pgm</i><i>Principal</i><i>: ${objets} chkopts</i><i><br>
</i><i> -${FLINKER} -o $@ ${objets} ${SLEPC_LIB}</i><i><br>
</i><i><br>
</i><i>.PHONY: clean</i><i><br>
</i><i> ${RM} *.o *.mod Pgm</i><i>Principal</i><i><br>
</i><br>
***<br>
<br>
The code exits with Warning and error messages of the type:<br>
<br>
<b>Warning: Pgm</b><b>Principal</b><b>.f90:880: Illegal
preprocessor directive</b><b><br>
</b><b>Warning: Pgm</b><b>Principal</b><b>.f90:889: Illegal
preprocessor directive</b><b><br>
</b><b>Warning: Pgm</b><b>Principal</b><b>.f90:892: Illegal
preprocessor directive</b><b><br>
</b><b>Warning: Pgm</b><b>Principal</b><b>.f90:895: Illegal
preprocessor directive</b><br>
<br>
and<br>
<br>
<b>USE slepceps</b><b><br>
</b><b> 1</b><b><br>
</b><b>Fatal Error: Can't open module file 'slepceps.mod' for
reading at (1): No such file or directory<br>
<br>
<br>
</b>I do not get these errors with the tests and errors files.<br>
<br>
<br>
Sincerely,<br>
<br>
</font>
<pre class="moz-signature" cols="72">--
Steve
</pre>
</body>
</html>