available in the config.log file in the Open MPI build directory.compiler and what error resulted when the command was executed) is.information (including exactly what command was given to the.but a problem with the local compiler installation.Note that this is likely not a problem with Open MPI, A simple test application failed to properly It appears that your Fortran compiler is unable to produce working.noĬhecking whether /usr/local/bin/fortran accepts -g. But received this error message:Ĭhecking whether we are using the GNU Fortran compiler. #20 0x000055ba61a099ae _start (/home/rjzak/Downloads/llvm-project/build/bin/flang-new+0x32f59ae)įlang-new: error: unable to execute command: Aborted (core dumped)įlang-new: error: flang frontend command failed due to signal (use -v to see invocation)įlang-new version 15.0.I was trying to run the configure executable on my macbook pro (Monterey). #16 0x000055ba62db703b Fortran::frontend::ExecuteCompilerInvocation(Fortran::frontend::CompilerInstance*) (/home/rjzak/Downloads/llvm-project/build/bin/flang-new+0x46a303b) #15 0x000055ba62da5e3e Fortran::frontend::CompilerInstance::ExecuteAction(Fortran::frontend::FrontendAction&) (/home/rjzak/Downloads/llvm-project/build/bin/flang-new+0x4691e3e) #14 0x000055ba62db1bb1 Fortran::frontend::FrontendAction::Execute() (/home/rjzak/Downloads/llvm-project/build/bin/flang-new+0x469dbb1) #12 0x000055ba62fcb08c Fortran::frontend::CodeGenAction::GenerateLLVMIR() (/home/rjzak/Downloads/llvm-project/build/bin/flang-new+0x48b708c) #10 0x000055ba6542f418 mlir::detail::OpToOpPassAdaptor::runPipeline(llvm::iterator_range >*, mlir::Pass>, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int, mlir::PassInstrumentor*, mlir::PassInstrumentation::PipelineParentInfo const*) (/home/rjzak/Downloads/llvm-project/build/bin/flang-new+0圆d1b418) #9 0x000055ba6542eeda mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) (/home/rjzak/Downloads/llvm-project/build/bin/flang-new+0圆d1aeda) #8 0x000055ba63fe6a42 (anonymous namespace)::TargetRewrite::runOnOperation() TargetRewrite.cpp:0:0 #7 0x000055ba63fe0271 fir::CodeGenSpecifics::get(mlir::MLIRContext*, llvm::Triple&, fir::KindMapping&) (/home/rjzak/Downloads/llvm-project/build/bin/flang-new+0x58cc271) #5 0x000055ba62cdcec7 llvm::report_fatal_error(llvm::Twine const&, bool) (/home/rjzak/Downloads/llvm-project/build/bin/flang-new+0x45c8ec7) Program arguments: /home/rjzak/Downloads/llvm-project/build/bin/flang-new -fc1 -triple wasm32-unknown-wasi -emit-obj -o /tmp/fibonacci-53e55a.o fibonacci.f90 PLEASE submit a bug report to and include the crash backtrace.Ġ. "/home/rjzak/Downloads/llvm-project/build/bin/flang-new" -fc1 -triple wasm32-unknown-wasi -emit-obj -o /tmp/fibonacci-53e55a.o fibonacci.f90 InstalledDir: /home/rjzak/Downloads/llvm-project/build/bin I don’t know much about how LLVM works, but since LLVM already supports WebAssembly, shouldn’t flang be able to use it as a target? $ ~/Downloads/llvm-project/build/bin/flang-new -target=wasm32-wasi fibonacci.f90 -vįlang-new version 15.0.0 ( 4fe2e42bbc18cb9e412b18dfcfe50e9b1f45f631) Are the plans to support the WebAssembly backend in flang? I downloaded and compiled the latest code, and tried to compile a simple Fortran application.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |