[R] error during DPpackage compilation

Alexandre Aguiar asaguiar at spsconsultoria.com
Tue Mar 31 13:14:36 CEST 2009


Dear All,

I've had trouble compiling DPpackage as a user in one system. It works fine 
as root in other machines.
I can see any clues in error messages My guess is that it is a permissions 
matter.
Any help is appreciated.

OS: Linux
Kernel: 2.6.27 SMP
Arch: Intel 64 bits
gfortran not available

Thank you.


----------------------><8-------------------------------------

g77   -fpic  -g -O2 -c LDDPdensity.f -o LDDPdensity.o
LDDPdensity.f: In subroutine `lddpcdensity':
LDDPdensity.f:12: 
        &                        mcmc,nsave,seed,
                                      1
LDDPdensity.f:226: (continued):
         real*8 thetasave(nsave,p+p*(p+1)/2+3)
                          2
Invalid declaration of or reference to symbol `nsave' at (2) [initially seen 
at (1)]
LDDPdensity.f:12: 
        &                        mcmc,nsave,seed,
                                      1
LDDPdensity.f:236: (continued):
         integer mcmc(3),nburn,nskip,nsave,ndisplay
                                     2
Invalid declaration of or reference to symbol `nsave' at (2) [initially seen 
at (1)]
LDDPdensity.f:9: 
        &                        cpo,thetasave,randsave,
                                     1
LDDPdensity.f:291: (continued):
         open(unit=1,file='dppackage1.out',status='unknown',
         2
Invalid declaration of or reference to symbol `thetasave' at (2) [initially 
seen at (1)]
LDDPdensity.f:9: 
        &                        cpo,thetasave,randsave,
                                               1
LDDPdensity.f:291: (continued):
         open(unit=1,file='dppackage1.out',status='unknown',
         2
Invalid declaration of or reference to symbol `randsave' at (2) [initially 
seen at (1)]
LDDPdensity.f:15: 
        &                        xtx,xtx2,xty,xty2,fs,fm,worksam,workcpo)
                                                         1
LDDPdensity.f:291: (continued):
         open(unit=1,file='dppackage1.out',status='unknown',
         2
Invalid declaration of or reference to symbol `worksam' at (2) [initially 
seen at (1)]
LDDPdensity.f:430: 
            xty2=matmul(xtx2,mub)
            ^
Expression at (^) has incorrect data type or rank for its context
LDDPdensity.f:430: warning:
            xty2=matmul(xtx2,mub)
                 ^
Reference to unimplemented intrinsic `MATMUL' at (^) (assumed EXTERNAL)
LDDPdensity.f:430: 
            xty2=matmul(xtx2,mub)
                 ^
Invalid declaration of or reference to symbol `matmul' at (^) [initially 
seen at (^)]
LDDPdensity.f:458: 
               betam=matmul(xtx,xty)
               ^
Expression at (^) has incorrect data type or rank for its context
LDDPdensity.f:515: 
            xty=matmul(sbeta0i,m0)
            ^
Expression at (^) has incorrect data type or rank for its context
LDDPdensity.f:535: 
               xty=xty+matmul(xtx2,betawork)
               ^
Expression at (^) has incorrect data type or rank for its context
LDDPdensity.f:538: 
            betawork=matmul(xtx,xty)
            ^
Expression at (^) has incorrect data type or rank for its context
make: *** [LDDPdensity.o] Error 1
ERROR: compilation failed for package 'DPpackage'

----------------------><8-------------------------------------

Alexandre

-- 
Alexandre Santos Aguiar, MD, SCT
--
website: http://spsconsultoria.com/
Phone: +55-11-3717-4866 (SP)
Phone: +55-21-3717-4866 (RJ)
Voicemail: +55-11-2157-6891 (SP)
Fax: +55-11-2501-1972 (SP) - New fax number! Please, update records.
--

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090331/d7c672f0/attachment-0003.bin>


More information about the R-help mailing list