> Copyright (C) 1995-2011 - All Rights Reserved > ld: warning: duplicate dylib /usr/lib/libgcc_s.1.dylib > % WRAPIT semivar_2d90.stub semivar_2d.f90 On Mar 22, 2011, at 2:57 PM, Capehart, William J wrote: Sometimes I do this, and then just cut and paste the commands that WRAPIT is using, and create my own shell script to do the compilation myself. This is turns on "debug" and gives you a bunch of compilation output that can be useful. Look for "excopts" and "exfopts" for setting additional compiler options.įinally, if you are not sure what exactly WRAPIT is doing, then include "-d" on the WRAPIT line. The C compiler will also be set in these blocks. Look at the various "case" statements to see which block to modify. This is set differently depending on what kind of system you're on, so you'll need to look at the nearby comments to see which block of code to modify "f90c" in. You can modify WRAPIT with any UNIX editor, and then look for "f90c" for setting the Fortran compiler. If you need WRAPIT to use special compilers or compiler options, then you will have to modify WRAPIT directly to do so. WRAPIT -L /usr/local/lib -l omp semivar_2d90.stub semivar_2d.f90 The default WRAPIT does not pull in OMP libraries, but you can add any libraries you want on the WRAPIT line yourself.įor example, if the library is called "libomp.a" and is in "/usr/local/lib", then you could do something like this:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |