|
isaev
Registered: 12/15/07
Posts: 2
|
Wednesday, June 11 2008 @ 10:10 PM CEST |
|
Hi,
I am trying to compile rspt144 on my SuSE 10.2 based notebook using ifort_9.1. But I got the next message when I type "make rspt":
make[3]: *** No rule to make target `comlib/orbmom_ad_com', needed by `conden.o'. Stop.
This file is really absent. Where I can find it?
Thanks,
Eyvaz. |
|
|
|
|
| |
Admin
Registered: 10/12/06
Posts: 130
|
Thursday, June 12 2008 @ 09:04 AM CEST |
|
Duh! I have for some stupid reason put the file in src/include instead of src/comlib. Move the file and try again. Sorry for this.
/Admin |
|
|
|
|
| |
isaev
Registered: 12/15/07
Posts: 2
|
Thursday, June 12 2008 @ 03:37 PM CEST |
|
Thanks, this one now is fixed. But I met another problem. Right after compiling of mdos_par.F, makefile tries to do something strange using command "m2c".
ifort -O3 -assume nounderscore -extend_source -DF_APPENDS_UNDERSCORE=0 -c -o mdos_par.o mdos_par.F
m2c -o mdos_erot.o mdos_erot.mod
make[3]: m2c: Command not found
My question is whether it is really correct or it is a bug of compiler/system.
Bests,
Eyvaz. |
|
|
|
|
| |
jxw
Registered: 11/09/06
Posts: 13
|
Thursday, June 12 2008 @ 03:56 PM CEST |
|
| This has to do with the makefile and where mod files are, an architecture that should be modifierd. The simplest solution is to do "make -r". |
|
jxw
|
|
|
| |
Admin
Registered: 10/12/06
Posts: 130
|
Thursday, June 12 2008 @ 04:21 PM CEST |
|
This can happen if the source file for a module is touched after the module has been compiled. If so, remove the mod file (NN.mod) and compile again or as jxw said, use make -r which really is a better solution.
/Admin |
|
|
|
|
| |
jxzhu
Registered: 03/20/08
Posts: 1
|
Friday, August 29 2008 @ 06:33 PM CEST |
|
This error can be fixed by adding one line somewhere (e.g. one line below .SUFFIXS) in the Makefile under rsptDir/src ----
%.o: %.mod
/jxz |
|
|
|
|
| |