Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
3690 connectés 

 


Dernière réponse
Sujet : PVM: pov-ray
philou_a7 Y a pas de modif kernel pour PVM
 
par contre il faut bien les libs pvm, les libs de developpement, etc...
il existe un tutoriel très bien fait pour installer pvmpov sur le net (dont je m'etais servi y a quelques années), mais je saurais pas te dire où :p
 
google, là

Votre réponse
Nom d'utilisateur    Pour poster, vous devez être inscrit sur ce forum .... si ce n'est pas le cas, cliquez ici !
Le ton de votre message                        
                       
Votre réponse


[b][i][u][strike][spoiler][fixed][cpp][url][email][img][*]   
 
   [quote]
 

Options

 
Vous avez perdu votre mot de passe ?


Vue Rapide de la discussion
philou_a7 Y a pas de modif kernel pour PVM
 
par contre il faut bien les libs pvm, les libs de developpement, etc...
il existe un tutoriel très bien fait pour installer pvmpov sur le net (dont je m'etais servi y a quelques années), mais je saurais pas te dire où :p
 
google, là
recep C'est quoi un kernel PVM? Moi je ne suis qu'un débutant sous linux!!!
PVM est déjà installé et mon cluster fonctionne trés bien et j'ai vu dans un article que pour tester mon cluster je pouvais utilisé pov-ray. J'ai effectuer des recherche sur pov-ray et son utilisation avec pvm, j'ai voulu l'installé (voir plus haut!) et s'est là que j'ai rencontré des problemes...
sorg Tu as un kernel PVM ? les sources PVM ?
recep Où est mon erreur???
recep Quand je compile j'ai ça... :
 
[cluster@noeud1 pvm]$ aimk newunix
making in LINUX/ for LINUX
rm -f ./povray.o ./render.o ./userio.o ./vbuffer.o pvm.o
cp ../../unix/unixconf.h config.h
(cd ..; aimk unix)
making in LINUX/ for LINUX
make[1]: Entering directory `/home/cluster/pvmpov3_1g_1/povray31/source/pvm/LINU
X'
gcc -O3 -ansi -finline-functions -ffast-math -c -Wall -DPVM -DLINUX -DCOMPILER_V
ER=\".`uname`.gcc\" -DPOV_LIB_DIR=\"/usr/local/lib/povray31\" -I. -I.. -I../.. -
I../../unix -I../../libpng -I../../zlib -I/usr/X11R6/include ../../blob.c -o blo
b.o
 
.....
.....
.....
 
In file included from ../../optin.c:74:
../pvm.h:101: error: conflicting types for `pvm_slave_stat'
../pvm.h:101: error: previous declaration of `pvm_slave_stat'
../pvm.h:110: error: conflicting types for `pvm_block_stat'
../pvm.h:110: error: previous declaration of `pvm_block_stat'
../pvm.h:131: error: conflicting types for `pvm_frame_stat'
../pvm.h:131: error: previous declaration of `pvm_frame_stat'
../../optin.c:198: error: `PVM_TASKS_OP' undeclared here (not in a function)
../../optin.c:198: error: initializer element is not constant
../../optin.c:198: error: (near initialization for `Option_Variable[82].Token_Nu
mber')
../../optin.c:198: error: initializer element is not constant
../../optin.c:198: error: (near initialization for `Option_Variable[82]')
../../optin.c:199: error: `PVM_WIDTH_OP' undeclared here (not in a function)
../../optin.c:199: error: initializer element is not constant
../../optin.c:199: error: (near initialization for `Option_Variable[83].Token_Nu
mber')
../../optin.c:199: error: initializer element is not constant
../../optin.c:199: error: (near initialization for `Option_Variable[83]')
../../optin.c:200: error: `PVM_HEIGHT_OP' undeclared here (not in a function)
../../optin.c:200: error: initializer element is not constant
../../optin.c:200: error: (near initialization for `Option_Variable[84].Token_Nu
mber')
../../optin.c:200: error: initializer element is not constant
../../optin.c:200: error: (near initialization for `Option_Variable[84]')
../../optin.c:201: error: `PVM_SLAVE_OP' undeclared here (not in a function)
../../optin.c:201: error: initializer element is not constant
../../optin.c:201: error: (near initialization for `Option_Variable[85].Token_Nu
mber')
../../optin.c:201: error: initializer element is not constant
../../optin.c:201: error: (near initialization for `Option_Variable[85]')
../../optin.c:202: error: `PVM_ARCH_OP' undeclared here (not in a function)
../../optin.c:202: error: initializer element is not constant
../../optin.c:202: error: (near initialization for `Option_Variable[86].Token_Nu
mber')
../../optin.c:202: error: initializer element is not constant
../../optin.c:202: error: (near initialization for `Option_Variable[86]')
../../optin.c:203: error: `PVM_NICE_OP' undeclared here (not in a function)
../../optin.c:203: error: initializer element is not constant
../../optin.c:203: error: (near initialization for `Option_Variable[87].Token_Nu
mber')
../../optin.c:203: error: initializer element is not constant
../../optin.c:203: error: (near initialization for `Option_Variable[87]')
../../optin.c:204: error: `PVM_WD_OP' undeclared here (not in a function)
../../optin.c:204: error: initializer element is not constant
../../optin.c:204: error: (near initialization for `Option_Variable[88].Token_Nu
mber')
../../optin.c:204: error: initializer element is not constant
../../optin.c:204: error: (near initialization for `Option_Variable[88]')
../../optin.c:205: error: `PVM_HOSTS_OP' undeclared here (not in a function)
../../optin.c:205: error: initializer element is not constant
../../optin.c:205: error: (near initialization for `Option_Variable[89].Token_Nu
mber')
../../optin.c:205: error: initializer element is not constant
../../optin.c:205: error: (near initialization for `Option_Variable[89]')
../../optin.c:206: error: `PVM_USE_OP' undeclared here (not in a function)
../../optin.c:206: error: initializer element is not constant
../../optin.c:206: error: (near initialization for `Option_Variable[90].Token_Nu
mber')
../../optin.c:206: error: initializer element is not constant
../../optin.c:206: error: (near initialization for `Option_Variable[90]')
../../optin.c: In function `get_ini_value':
../../optin.c:586: error: `PVM_TASKS_OP' undeclared (first use in this function)
../../optin.c:586: error: (Each undeclared identifier is reported only once
../../optin.c:586: error: for each function it appears in.)
../../optin.c:589: error: `PVM_WIDTH_OP' undeclared (first use in this function)
../../optin.c:592: error: `PVM_HEIGHT_OP' undeclared (first use in this function
)
../../optin.c:595: error: `PVM_SLAVE_OP' undeclared (first use in this function)
../../optin.c:598: error: `PVM_ARCH_OP' undeclared (first use in this function)
../../optin.c:601: error: `PVM_NICE_OP' undeclared (first use in this function)
../../optin.c:604: error: `PVM_WD_OP' undeclared (first use in this function)
../../optin.c:607: error: `PVM_HOSTS_OP' undeclared (first use in this function)
../../optin.c:616: error: `PVM_USE_OP' undeclared (first use in this function)
../../optin.c: In function `parse_switch':
../../optin.c:1095: error: `PVM_USE_OP' undeclared (first use in this function)
../../optin.c:1099: error: `PVM_ARCH_OP' undeclared (first use in this function)
../../optin.c:1103: error: `PVM_NICE_OP' undeclared (first use in this function)
../../optin.c:1107: error: `PVM_TASKS_OP' undeclared (first use in this function
)
../../optin.c:1111: error: `PVM_HEIGHT_OP' undeclared (first use in this functio
n)
../../optin.c:1115: error: `PVM_WIDTH_OP' undeclared (first use in this function                              )
../../optin.c:1119: error: `PVM_SLAVE_OP' undeclared (first use in this function                              )
../../optin.c:1123: error: `PVM_WD_OP' undeclared (first use in this function)
../../optin.c: In function `process_variable':
../../optin.c:1952: error: `PVM_TASKS_OP' undeclared (first use in this function                              )
../../optin.c:1958: error: `PVM_WIDTH_OP' undeclared (first use in this function                              )
../../optin.c:1963: error: `PVM_HEIGHT_OP' undeclared (first use in this functio                              n)
../../optin.c:1968: error: `PVM_SLAVE_OP' undeclared (first use in this function                              )
../../optin.c:1974: error: `PVM_ARCH_OP' undeclared (first use in this function)
../../optin.c:1982: error: `PVM_NICE_OP' undeclared (first use in this function)
../../optin.c:1988: error: `PVM_WD_OP' undeclared (first use in this function)
../../optin.c:1992: error: `PVM_HOSTS_OP' undeclared (first use in this function                              )
../../optin.c:2021: error: `PVM_USE_OP' undeclared (first use in this function)
make[1]: *** [optin.o] Erreur 1
make[1]: Leaving directory `/home/cluster/pvmpov3_1g_1/povray31/source/pvm/LINUX                              '
make: [newunix] Erreur 2 (ignorée)
[cluster@noeud1 pvm]$
 
?????????
philou_a7 quel probleme ? t'as un message d'erreur ? parce que sinon, pas facile d'aider :lol:
recep Pour l'installation de PovRay j'ai fais...
 
Dans la racine de mon compte, copie du patch et crée un repertoire pvmpov3_1e_1 :  
 
> cd  
> cp /my_path/pvmpov-3.1e2.tgz .  
> mkdir pvmpov3_1e_1
 
Dans le repertoire pvmpov3_1e_1, décompression de la source de povray  
> cd  pvmpov3_1e_1  
> cp  /my_path/povuni_s.tgz  /my_path/povuni_d.tgz  .  
> tar xfz  povuni_s.tgz  
> tar xfz  povuni_d.tgz  
Un nouveau répertoire /povray31 a alors été créé.  
 
Retour dans ma racine et décompression du pacth pour la version PVM :  
> cd  
> tar xfz pvmpov-3.1e2.tgz  
 
Dans le répertoire pvmpov3_1e_1, application du patch :  
> cd  pvmpov3_1e_1  
> ./inst-pvm  
 
Ensuite Compillation et installation des differentes librairies en tant que root :  
> cd  povray31/source/zlib  
> ./configure  
> make test  
> su  
> make  install  
> exit  
 
 
> cd  ../libpng  
> cp  scripts/makefile.std  makefile  
> make  test  
> su  
> make  install  
> exit  
 
Edition du fichier pvm.h  
> cd ../pvm  
> emacs pvm.h  
 
Il faut remplacer  
    #if defined(SUN4SOL2) || defined(your_pvm_arch)  
par  
    #if defined(SUN4SOL2) || defined(LINUX)  
 
Definition de mes variables d'environnement et compilation de PovRay version PVM :  
> export PVM_ARCH=LINUX  
> export PATH=$PATH:$PVM_ROOT/lib  
> aimk newunix  
 
Arrivé ici il y a un probleme de compilation!!!
recep Je désir tester mon cluster de calcul en utilisant pov-ray!!!  
J'ai essayé d'installer pov-ray et le patch "povpvm" pour PVM, mais ca ne marche pas... Erreur a la compilation!!!
Est-ce quelqu'un ici pourrai me guider pour configurer pov-ray pour PVM?
Merci d'avnace!!!

Copyright © 1997-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)