Index: trunk/LMDZ.MARS/makegcm_pgf
===================================================================
--- trunk/LMDZ.MARS/makegcm_pgf	(revision 882)
+++ trunk/LMDZ.MARS/makegcm_pgf	(revision 1036)
@@ -532,5 +532,5 @@
 # Build the appropriate 'dimensions.h' file
 cd dimension
-./makdim $ntrac $dim
+./makdim $dim
 # echo contents of dimensions.h to standard output
 cat $libf/grid/dimensions.h
@@ -558,6 +558,9 @@
 echo dimension $dimension dim $dim
 if ( $dimension == 1 ) then
-  echo pas de dynamique
-  set dyn="L_DYN= DYN= L_FILTRE= DIRMAIN=phy$physique "
+  echo "No dynamics"
+##  set dyn="L_DYN= DYN= L_FILTRE= DIRMAIN=phy$physique "
+## NB: we still need to have L_DYN=libdyn3d to reach routines and module
+## objects which are located in dyn3d
+  set dyn="L_DYN=-ldyn3d DYN= L_FILTRE= DIRMAIN=phy$physique "
 endif
 endif
