Projet

Général

Profil

Actions

Assistance #378

fermé

Problème avec dernière version ?

Ajouté par Alexis Carlotti il y a environ 9 ans. Mis à jour il y a environ 9 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
06/03/2015
Echéance:
% réalisé:

0%

Temps estimé:

Description

Après installation complète et réussie de la dernière version (en date du 4 mars), l'initialisation lancée dans le widget plante lors du calcul svd, quelque soit le fichier .par.
Je suis en CUDA 7.0 et Magma 1.6.

#
doing svd
ERROR (cmat_init) Segmentation violation interrupt (SIGSEGV)
LINE: 137 FILE: /root/compass/trunk/yoga_ao/yorick/yoga_rtc.i #

Mis à jour par Arnaud Sevin il y a environ 9 ans

Alexis Carlotti a écrit :

Après installation complète et réussie de la dernière version (en date du 4 mars), l'initialisation lancée dans le widget plante lors du calcul svd, quelque soit le fichier .par.
Je suis en CUDA 7.0 et Magma 1.6.

Salut Alexis,

Généralement, c'est une incompatibilite entre les flags de compilation de magma et carma.

Si tu utilises MKL, dans le make.inc de magma, tu dois avoir :

CFLAGS = -fPIC -O3 -DADD_ -Wall -fno-strict-aliasing -fopenmp -DMAGMA_WITH_MKL -DMAGMA_SETAFFINITY -DMKL_ILP64
FFLAGS = -fPIC -O3 -DADD_ -Wall
F90FLAGS = -fPIC -O3 -DADD_ -Wall -x f95-cpp-input
NVCCFLAGS = -O3 -DADD_ -Xcompiler "-fno-strict-aliasing -fPIC" -DMKL_ILP64
LDFLAGS = -fPIC -fopenmp

  1. gcc with MKL 10.3, Intel threads
    LIB = -lmkl_gf_ilp64 -lmkl_gnu_thread -lmkl_core -lpthread -lcublas -lcudart -lstdc++ -lm -lgfortran

Et dans le makefile de carma :
ifneq ($(MAGMA_ROOT),)
#use the same keyword as in make.inc
LIB_CPPFLAGS += -I$(MAGMA_ROOT)/include -DUSE_MAGMA -DUSE_MAGMA_WITH_MKL
LIB_CPPFLAGS += -DADD_ -DHAVE_CUBLAS -DMAGMA_SETAFFINITY -DMAGMA_ILP64 -DMKL_ILP64
LIB_NVCCFLAGS += -Xcompiler -fno-strict-aliasing
LIB_DEPLIBS += -Wl,-rpath=$(MAGMA_ROOT)/lib -L$(MAGMA_ROOT)/lib -lmagma
endif

Mis à jour par Alexis Carlotti il y a environ 9 ans

A priori j'utilise MAGMA, mais pas MKL...

A

Arnaud Sevin a écrit :

Alexis Carlotti a écrit :

Après installation complète et réussie de la dernière version (en date du 4 mars), l'initialisation lancée dans le widget plante lors du calcul svd, quelque soit le fichier .par.
Je suis en CUDA 7.0 et Magma 1.6.

Salut Alexis,

Généralement, c'est une incompatibilite entre les flags de compilation de magma et carma.

Si tu utilises MKL, dans le make.inc de magma, tu dois avoir :

CFLAGS = -fPIC -O3 -DADD_ -Wall -fno-strict-aliasing -fopenmp -DMAGMA_WITH_MKL -DMAGMA_SETAFFINITY -DMKL_ILP64
FFLAGS = -fPIC -O3 -DADD_ -Wall
F90FLAGS = -fPIC -O3 -DADD_ -Wall -x f95-cpp-input
NVCCFLAGS = -O3 -DADD_ -Xcompiler "-fno-strict-aliasing -fPIC" -DMKL_ILP64
LDFLAGS = -fPIC -fopenmp

  1. gcc with MKL 10.3, Intel threads
    LIB = -lmkl_gf_ilp64 -lmkl_gnu_thread -lmkl_core -lpthread -lcublas -lcudart -lstdc++ -lm -lgfortran

Et dans le makefile de carma :
ifneq ($(MAGMA_ROOT),)
#use the same keyword as in make.inc
LIB_CPPFLAGS += -I$(MAGMA_ROOT)/include -DUSE_MAGMA -DUSE_MAGMA_WITH_MKL
LIB_CPPFLAGS += -DADD_ -DHAVE_CUBLAS -DMAGMA_SETAFFINITY -DMAGMA_ILP64 -DMKL_ILP64
LIB_NVCCFLAGS += -Xcompiler -fno-strict-aliasing
LIB_DEPLIBS += -Wl,-rpath=$(MAGMA_ROOT)/lib -L$(MAGMA_ROOT)/lib -lmagma
endif

Mis à jour par Arnaud Sevin il y a environ 9 ans

Alors tu dois commenter -DUSE_MAGMA_WITH_MKL et -DMAGMA_ILP64 -DMKL_ILP64 (avec un #) dans le Makefile de carma:

ifneq ($(MAGMA_ROOT),)
#use the same keyword as in make.inc
LIB_CPPFLAGS += -I$(MAGMA_ROOT)/include -DUSE_MAGMA # -DUSE_MAGMA_WITH_MKL
LIB_CPPFLAGS += -DADD_ -DHAVE_CUBLAS -DMAGMA_SETAFFINITY # -DMAGMA_ILP64 -DMKL_ILP64
LIB_NVCCFLAGS += -Xcompiler -fno-strict-aliasing
LIB_DEPLIBS += -Wl,-rpath=$(MAGMA_ROOT)/lib -L$(MAGMA_ROOT)/lib -lmagma
endif

Mis à jour par Arnaud Sevin il y a environ 9 ans

  • Statut changé de Nouveau à Résolu

Problème de miss-configuration entre la compilation de MAGMA et de CARMA

Mis à jour par Arnaud Sevin il y a environ 9 ans

  • Statut changé de Résolu à Fermé
Actions

Formats disponibles : Atom PDF