Re: [Nektar-users] Linking ARPAC
Hi Marcus, Glad it all worked out in the end. I am posting your summary back onto the nectar-users list so we can keep a record. Cheers, Spencer. On 23 May 2016, at 21:30, Lander, Marcus David <marcus.lander@okstate.edu<mailto:marcus.lander@okstate.edu>> wrote: Dr. Spencer, I was able to successfully link ARPACK to NEKTAR++. I followed what you asked, and I compiled Nektar++ using the same compiler as I was using for Nektar++. However, this still lead to some errors. Additionally, I needed to change multiple compile flags within ARPACK’s various makefiles. Finally, I figured out that instead of linking to libarpack_LINUX.a, I instead needed to link to libarpack_LINUX.so. At this point, Nektar++ compiled correctly, and I was able to confirm it by calling Arpack as is described in the tutorials. Thank you very much. Marcus Lander Graduate Research Student Oklahoma State University CC’d in this email: Balaji Jayaraman, Ph.D, Assistant Professor, School of Mechanical and Aerospace Engineering, Oklahoma State University, 211C Engineering North, Stillwater OK 74078-5016 Email: balaji.jayaraman@okstate.edu<mailto:balaji.jayaraman@okstate.edu> From: Sherwin, Spencer J [mailto:s.sherwin@imperial.ac.uk] Sent: Friday, May 20, 2016 9:27 AM To: Lander, Marcus David Subject: Re: [Nektar-users] Linking ARPAC Hi Marcus What you seem to be doing seems reasonable. However when you enter the details in cmake you mention below. What happens when you then configure the setup by pressing ’c’. Does the configuration complete correctly? I am using it from a system installation which is actually linking to a dynamic library libarpack.dylib but I think you should be able to use the static compilation. Are you compelling Arpack with the same compiler you are using for Nektar++ (@Chris, Dave: Do you have any suggestions)? Cheers, Spencer. On 19 May 2016, at 22:11, Lander, Marcus David <marcus.lander@okstate.edu<mailto:marcus.lander@okstate.edu>> wrote: I am having issues getting Nektar++ to recognize ARPACK. When I run through the channel-flow tutorial, in the Channel-Coupled.xml section, I get to the following command: IncNavierStokesSolver Channel-Coupled.xml Then, I receive the following error: Value ‘Arpack’ is not valid for property ‘DRIVER’ I’m very confused how to link Arpack (which is going to be installed to my personal directory rather than on the main section of the cluster, because I do not have permission to install Arpack globally). It is installed at $HOME/ARPACK/ In ccmake .., I point the ARPACK_LIBRARY flag to $HOME/ARPACK/libarpack_LINUX.a, and then I changed the NEKTAR_USE_ARPACK flag to on. Is there something I am missing??? _______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk<mailto:Nektar-users@imperial.ac.uk> https://mailman.ic.ac.uk/mailman/listinfo/nektar-users Spencer Sherwin McLaren Racing/Royal Academy of Engineering Research Chair, Professor of Computational Fluid Mechanics, Department of Aeronautics, Imperial College London South Kensington Campus London SW7 2AZ s.sherwin@imperial.ac.uk<mailto:s.sherwin@imperial.ac.uk> +44 (0) 20 759 45052 Spencer Sherwin McLaren Racing/Royal Academy of Engineering Research Chair, Professor of Computational Fluid Mechanics, Department of Aeronautics, Imperial College London South Kensington Campus London SW7 2AZ s.sherwin@imperial.ac.uk<mailto:s.sherwin@imperial.ac.uk> +44 (0) 20 759 45052
participants (1)
- 
                
                Sherwin, Spencer J