[FLASH-USERS] Gravity PlanePar

Giovanny Bernal bernalcg at astroscu.unam.mx
Tue Jun 10 21:49:33 EDT 2008


Hi people,

I want to run a simulation using the gravity PlanePar unit, but when I  
compile my setup the error is...

________
fortcom: Error: Gravity_accelOneRow.F90, line 127: This name does not  
have a type, and must have an explicit type.   [J]
         call grv_accelOneZone(xCenter (i), yCenter(j), zCenter(k), gc)
---------------------------------------------------^
fortcom: Error: Gravity_accelOneRow.F90, line 127: This name does not  
have a type, and must have an explicit type.   [K]
         call grv_accelOneZone(xCenter (i), yCenter(j), zCenter(k), gc)
---------------------------------------------------------------^
fortcom: Error: Gravity_accelOneRow.F90, line 148: An allocate/ 
deallocate object must have the ALLOCATABLE or POINTER attribute.    
[XCENTER]
   deallocate(xCenter)
-------------^
fortcom: Error: Gravity_accelOneRow.F90, line 149: An allocate/ 
deallocate object must have the ALLOCATABLE or POINTER attribute.    
[XLEFT]
   deallocate(xLeft)
-------------^
fortcom: Error: Gravity_accelOneRow.F90, line 150: An allocate/ 
deallocate object must have the ALLOCATABLE or POINTER attribute.    
[XRIGHT]
   deallocate(xRight)
-------------^
fortcom: Error: Gravity_accelOneRow.F90, line 151: An allocate/ 
deallocate object must have the ALLOCATABLE or POINTER attribute.    
[YCENTER]
   deallocate(yCenter)
-------------^
fortcom: Error: Gravity_accelOneRow.F90, line 152: An allocate/ 
deallocate object must have the ALLOCATABLE or POINTER attribute.    
[YLEFT]
   deallocate(yLeft)
-------------^
fortcom: Error: Gravity_accelOneRow.F90, line 153: An allocate/ 
deallocate object must have the ALLOCATABLE or POINTER attribute.    
[YRIGHT]
   deallocate(yRight)
-------------^
fortcom: Error: Gravity_accelOneRow.F90, line 154: An allocate/ 
deallocate object must have the ALLOCATABLE or POINTER attribute.    
[ZCENTER]
   deallocate(zCenter)
-------------^
fortcom: Error: Gravity_accelOneRow.F90, line 155: An allocate/ 
deallocate object must have the ALLOCATABLE or POINTER attribute.    
[ZLEFT]
   deallocate(zLeft)
-------------^
fortcom: Error: Gravity_accelOneRow.F90, line 156: An allocate/ 
deallocate object must have the ALLOCATABLE or POINTER attribute.    
[ZRIGHT]
   deallocate(zRight)
-------------^
compilation aborted for Gravity_accelOneRow.F90 (code 1)
make: *** [Gravity_accelOneRow.o] Error 1
________

the [J] & [K] values are easy solved because I see that in the  
"Gravity_accelOneRow.F90" the line 70 is:
integer :: i
and should be:
integer :: i,j,k

but the allocate/deallocate objects, I see that are here... any idea???

very thaks in advanced
  
  



More information about the flash-users mailing list