Hi! I have a problem related to PVM, and I'd be very thankful if anybody could help me. What I've done is just install condor, and then I tryed the examples, which ran properly. After that, I tryed the PVM example, but I got the following error message: ------------------------------------------------ [condor@ferrari PVM]$ make gcc -O -I/home/condor/condor/sbin//include -L/home/condor/condor/sbin//lib/X86SOL2 -g master_sum.c -lpvm3 -lsocket -lnsl -o master_sum master_sum.c:49:18: pvm3.h: No existe el fichero o el directorio -> File or directory does not exists master_sum.c: In function `send_data_to_worker': master_sum.c:70: error: `PvmDataDefault' no se declaró aquí (primer uso en esta función) -> `xxx' has not been declared here master_sum.c:70: error: (Cada identificador no declarado solamente se reporta una vez master_sum.c:70: error: para cada funcion en la que aparece.) master_sum.c: In function `need_more_hosts': master_sum.c:96: error: aplicación inválida de `sizeof' a un tipo de dato incompleto `pvmhostinfo' master_sum.c: In function `add_a_host': master_sum.c:141: error: `PvmHostDelete' no se declaró aquí (primer uso en esta función) -> `xxx' has not been declared here master_sum.c: In function `spawn_a_worker': master_sum.c:160: error: `PvmTaskArch' no se declaró aquí (primer uso en esta función) -> `xxx' has not been declared here master_sum.c:169: error: `PvmTaskExit' no se declaró aquí (primer uso en esta función) -> `xxx' has not been declared here master_sum.c:171: error: `PvmOk' no se declaró aquí (primer uso en esta función) master_sum.c:179: error: `PvmBadParam' no se declaró aquí (primer uso en esta función) master_sum.c:181: error: `PvmNoHost' no se declaró aquí (primer uso en esta función) master_sum.c:183: error: `PvmNoFile' no se declaró aquí (primer uso en esta función) master_sum.c:185: error: `PvmNoMem' no se declaró aquí (primer uso en esta función) master_sum.c:187: error: `PvmSysErr' no se declaró aquí (primer uso en esta función) master_sum.c:189: error: `PvmOutOfRes' no se declaró aquí (primer uso en esta función) master_sum.c: In function `main': master_sum.c:239: error: aplicación inválida de `sizeof' a un tipo de dato incompleto `pvmhostinfo' master_sum.c:306: error: `PvmHostAdd' no se declaró aquí (primer uso en esta función) master_sum.c:350: error: uso inválido del tipo indefinido `struct pvmhostinfo' master_sum.c:350: error: puntero deferenciado a tipo de dato incompleto master_sum.c:350: error: uso inválido del tipo indefinido `struct pvmhostinfo' master_sum.c:350: error: puntero deferenciado a tipo de dato incompleto master_sum.c:350: error: uso inválido del tipo indefinido `struct pvmhostinfo' master_sum.c:350: error: puntero deferenciado a tipo de dato incompleto master_sum.c:351: error: uso inválido del tipo indefinido `struct pvmhostinfo' master_sum.c:351: error: puntero deferenciado a tipo de dato incompleto master_sum.c:354: error: uso inválido del tipo indefinido `struct pvmhostinfo' master_sum.c:354: error: puntero deferenciado a tipo de dato incompleto master_sum.c:359: error: `PvmHostDelete' no se declaró aquí (primer uso en esta función) master_sum.c:361: error: `PvmHostSuspend' no se declaró aquí (primer uso en esta función) master_sum.c:363: error: `PvmHostResume' no se declaró aquí (primer uso en esta función) make: *** [master_sum] Error 1 [condor@ferrari PVM]$ ------------------------------------------------Although I didn't installed PVM by hand, I think it was installed automatically with condor, because I get the following when running < ls -l `condor_config_val PVMD` >: ------------------------------------------------ [condor@ferrari PVM]$ ls -l `condor_config_val PVMD` -rwxr-xr-x 1 condor condor 545431 ene 27 10:03 /home/condor/condor/sbin/condor_pvmd [condor@ferrari PVM]$ ------------------------------------------------Because of this, I set PVM_ROOT in the Makefile of the example to /home/condor/condor/sbin, but, as you can see, it does not work at all! After that, I tryed setting PVM_ROOT = /usr/share/pvm3, and got the following: ------------------------------------------------ [condor@ferrari PVM]$ make gcc -O -I/usr/share/pvm3/include -L/usr/share/pvm3/lib/X86SOL2 -g master_sum.c -lpvm3 -lsocket -lnsl -o master_sum master_sum.c: In function `main': master_sum.c:361: error: `PvmHostSuspend' no se declaró aquí (primer uso en esta función) -> `xxx' has not been declared here master_sum.c:361: error: (Cada identificador no declarado solamente se reporta una vez master_sum.c:361: error: para cada funcion en la que aparece.) master_sum.c:363: error: `PvmHostResume' no se declaró aquí (primer uso en esta función) -> `xxx' has not been declared here make: *** [master_sum] Error 1 [condor@ferrari PVM]$ ------------------------------------------------What can I do to run this example? It migth be because of the value of PVM_ROOT, isn't it? Thank you in advance for your help! Regards, Agustin -- ======================================================================== Agustín Caminero Herráez Departamento de Informática Universidad de Castilla-La Mancha Instituto de Investigación en Campus Universitario s. n. Informática de Albacete (i3A) 02071-ALBACETE (SPAIN) e-mail: agustin@xxxxxxxxxxxxxxx Tlf : +34 967 599200 Ext. 2693 Fax : +34 967 599224 URL: http://www.i3a.uclm.es/ ======================================================================== |
begin:vcard fn;quoted-printable:Agust=C3=ADn Caminero Herr=C3=A1ez n;quoted-printable;quoted-printable:Caminero Herr=C3=A1ez;Agust=C3=ADn org;quoted-printable:Universidad de Castilla La Mancha;Departamento de Inform=C3=A1tica adr;quoted-printable;quoted-printable:Campus Universitario s. n.;;Instituto de Investigaci=C3=B3n en Inform=C3=A1tica de Albacete (i3A);Albacete;Albacete;02071;Espa=C3=B1a email;internet:agustin@xxxxxxxxxxxxxxx title:Estudiante de Doctorado tel;work:967 59 92 00 Ext. 2693 version:2.1 end:vcard