Hi All,
I am using student version of Matlab on Mac OS
I am trying to execute a batch file (modflow.bat) in matlab
------------------------cat basic.bas > picto12_15.bastail -13098 picto09_12.fhd >> picto12_15.bas~/modflow/src/mf2005 picto12_15.nam > chickcat basic.bas > picto15_18.bastail -13098 picto12_15.fhd >> picto15_18.bas~/modflow/src/mf2005 picto15_18.nam > chickcat basic.bas > picto18_21.bastail -13098 picto15_18.fhd >> picto18_21.bas~/modflow/src/mf2005 picto18_21.nam > chickcat basic.bas > picto21_24.bastail -13098 picto18_21.fhd >> picto21_24.bas~/modflow/src/mf2005 picto21_24.nam > chick------------------------
this batch file runs fine on the command line of mac. but when I did
!sh modflow.bat
it gives the error
dyld: lazy symbol binding failed: Symbol not found:__gfortran_transfer_character_write Referenced from: /Users/ashutoshsingh/modflow/src/mf2005 Expected in: /Applications/MATLAB_R2011a.app/sys/os/maci64/libgfortran.3.dylibdyld: Symbol not found: __gfortran_transfer_character_write Referenced from: /Users/ashutoshsingh/modflow/src/mf2005 Expected in: /Applications/MATLAB_R2011a.app/sys/os/maci64/libgfortran.3.dylibmodflow.bat: line 3: 8527 Trace/BPT trap ~/modflow/src/mf2005 picto12_15.nam > chickdyld: lazy symbol binding failed: Symbol not found:__gfortran_transfer_character_write Referenced from: /Users/ashutoshsingh/modflow/src/mf2005 Expected in: /Applications/MATLAB_R2011a.app/sys/os/maci64/libgfortran.3.dylibdyld: Symbol not found: __gfortran_transfer_character_write Referenced from: /Users/ashutoshsingh/modflow/src/mf2005 Expected in: /Applications/MATLAB_R2011a.app/sys/os/maci64/libgfortran.3.dylibmodflow.bat: line 6: 8532 Trace/BPT trap ~/modflow/src/mf2005 picto15_18.nam > chickdyld: lazy symbol binding failed: Symbol not found:__gfortran_transfer_character_write Referenced from: /Users/ashutoshsingh/modflow/src/mf2005 Expected in: /Applications/MATLAB_R2011a.app/sys/os/maci64/libgfortran.3.dylibdyld: Symbol not found: __gfortran_transfer_character_write Referenced from: /Users/ashutoshsingh/modflow/src/mf2005 Expected in: /Applications/MATLAB_R2011a.app/sys/os/maci64/libgfortran.3.dylibmodflow.bat: line 9: 8535 Trace/BPT trap ~/modflow/src/mf2005 picto18_21.nam > chickdyld: lazy symbol binding failed: Symbol not found:__gfortran_transfer_character_write Referenced from: /Users/ashutoshsingh/modflow/src/mf2005 Expected in: /Applications/MATLAB_R2011a.app/sys/os/maci64/libgfortran.3.dylibdyld: Symbol not found: __gfortran_transfer_character_write Referenced from: /Users/ashutoshsingh/modflow/src/mf2005 Expected in: /Applications/MATLAB_R2011a.app/sys/os/maci64/libgfortran.3.dylibmodflow.bat: line 12: 8538 Trace/BPT trap ~/modflow/src/mf2005 picto21_24.nam > chicksh modflow.bat: Trace/breakpoint trap
————————————————–
Can anyone tell me where is the problem
Thanking You and Regards
Ashutosh Singh
Best Answer