Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion slv.mk
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ FINC = $(foreach i,$(INCDIR),-I$(i)/include) -I./ $(MKLINC) $(OTHERINCDIR)
FLIB = $(foreach i,$(LIBDIR),-L$(i)/lib) $(PBSDIR) $(OTHERLIBDIR)
FLIB += $(MKLLIB) $(METISLIB) $(CGNSLIB) $(HDF5LIB) $(SZIPLIB) $(PBSLIB) $(OTHERLIB)

FCBASE = $(REALLOCFLAG) $(TRACEFLAG) -g
FCBASE = $(REALLOCFLAG) $(TRACEFLAG)

ADDFLAGS = $(MKLFLAG) $(MOD) $(FINC) $(FCADD) $(CMPFLAGS)

Expand Down
6 changes: 4 additions & 2 deletions typesgen_mod.f90
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,7 @@ pure function dot_mat_sparse(this,idx,array) result(return_value)
do n = 1,size(array,dim=2)
#ifdef USE_INTEL_MKL
return_value(n) = doti( this%row_val(n1:n2) , &
this%row_idx(n1:n2) , &
array( this%row_idx(n1:n2) , n ) )
#else
return_value(n) = dot( this%row_val(n1:n2) , &
Expand Down Expand Up @@ -1255,10 +1256,11 @@ pure function dot_mat2_sparse(this,idx,array) result(return_value)
do n = 1,size(array,dim=2)
#ifdef USE_INTEL_MKL
return_value(n,m) = doti( this%row_val(n1:n2) , &
array( this%row_idx(n1:n2) , n,m ) )
this%row_idx(n1:n2) , &
array( this%row_idx(n1:n2) , n,m ) )
#else
return_value(n,m) = dot( this%row_val(n1:n2) , &
array( this%row_idx(n1:n2) , n,m ) )
array( this%row_idx(n1:n2) , n,m ) )
#endif
end do
end do
Expand Down