On Wed, 2011-10-05 at 11:48 -0300, Carolina Carneiro wrote: > Hi, > > I'm trying to use make to compile the drivers of a program I have to > use, called MOCASSIN. > But when I type make mocassin, this error menssage appears: > > root@carol-HP-Pavilion-dv5-Notebook-PC:/home/carol/mocassin/mocassin.2.02.69# > make mocassin > /opt/intel/composer_xe_2011_sp1.6.233 0.5 -o mocassin > source/infnan.f90 source/constants_mod.f90 source/vector_mod.f90 > source/common_mod.f90 source/interpolation_mod.f90 > source/set_input_mod.f90 source/hydro_mod.f90 source/ph_mod.f90 > source/composition_mod.f90 source/continuum_mod.f90 > source/ionization_mod.f90 source/pathIntegration_mod.f90 > source/grid_mod.f90 source/dust_mod.f90 source/emission_mod.f90 > source/photon_mod.f90 source/update_mod.f90 source/output_mod.f90 > source/iteration_mod.f90 > source/mocassin.f90 /home/carol/mocassin/mpich2-install > make: execvp: /opt/intel/composer_xe_2011_sp1.6.233: Permission denied > make: *** [mocassin] Error 127 > > I don't know what's wrong, since I'm root and all permissions are > openned: > > 4 drwxrwxrwx 5 root root 4096 2011-09-22 23:39 > composer_xe_2011_sp1.6.233
This is not a GNU make problem: make is trying to run your program but the system won't let it. Sending the makefile won't help. You can tell it's not a make problem, because if you try to invoke that command line directly from the shell rather than through make you'll get the same error (permission denied). Based on what I see here, I'd say that you've mounted the filesystem with the noexec flag so that the system will not run any programs on that filesystem, even if they have the execute bit set. Many Linux systems, for example, will use that flag by default on removable media such as flash drives, etc. as a security measure. You can use "df /opt/intel/." to find the filesystem then look at the flags for that filesystem in /proc/mounts to see if that flag is set. _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make